From 6ba2b53c53260323039d7f872034991e6706a20b Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 24 Mar 2016 16:25:00 +0100 Subject: [PATCH] Change definition of b64_pton from K&R to ANSI Signed-off-by: Corinna Vinschen --- winsup/cygwin/libc/base64.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/winsup/cygwin/libc/base64.c b/winsup/cygwin/libc/base64.c index 933c92721..f6bdb872e 100644 --- a/winsup/cygwin/libc/base64.c +++ b/winsup/cygwin/libc/base64.c @@ -194,10 +194,7 @@ b64_ntop(u_char const *src, size_t srclength, char *target, size_t targsize) { */ int -b64_pton(src, target, targsize) - char const *src; - u_char *target; - size_t targsize; +b64_pton(char const *src, unsigned char *target, size_t targsize) { int tarindex, state, ch; char *pos;