diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2016-03-24 18:25:00 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-03-24 18:25:00 +0300 |
commit | 6ba2b53c53260323039d7f872034991e6706a20b (patch) | |
tree | 86159f701c26262b862f09534d964f893993fbc6 | |
parent | 34adefae7fc7fa803ceb2e62eec301f92eaebf18 (diff) |
Change definition of b64_pton from K&R to ANSI
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r-- | winsup/cygwin/libc/base64.c | 5 |
1 files changed, 1 insertions, 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; |