https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=6ba2b53c53260323039d7f872034991e6706a20b

commit 6ba2b53c53260323039d7f872034991e6706a20b
Author: Corinna Vinschen <[email protected]>
Date:   Thu Mar 24 16:25:00 2016 +0100

    Change definition of b64_pton from K&R to ANSI
    
    Signed-off-by: Corinna Vinschen <[email protected]>

Diff:
---
 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 933c927..f6bdb87 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;

Reply via email to