4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-18 20:39:33 +08:00

Change definition of b64_pton from K&R to ANSI

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2016-03-24 16:25:00 +01:00
parent 34adefae7f
commit 6ba2b53c53

View File

@ -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;