This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin] Change definition of b64_pton from K&R to ANSI


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

commit 6ba2b53c53260323039d7f872034991e6706a20b
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Thu Mar 24 16:25:00 2016 +0100

    Change definition of b64_pton from K&R to ANSI
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]