From c7be20a68a11e52e03ff69ef42e0c3a265c8e6f8 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Tue, 10 Oct 2000 09:13:09 +0000 Subject: [PATCH] * kparse.c: Provide prototype for static struol(). Do not define void as int (autoconf can handle that). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12750 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb4/ChangeLog | 5 +++++ src/lib/krb4/kparse.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/lib/krb4/ChangeLog b/src/lib/krb4/ChangeLog index 749e81f7e..ce5439cee 100644 --- a/src/lib/krb4/ChangeLog +++ b/src/lib/krb4/ChangeLog @@ -1,3 +1,8 @@ +Tue Oct 10 05:03:50 2000 Ezra Peisach + + * kparse.c: Provide prototype for static struol(). Do not define + void as int (autoconf can handle that). + 2000-10-07 Tom Yu * g_tkt_svc.c (CredIsExpired): Fix logic bug. diff --git a/src/lib/krb4/kparse.c b/src/lib/krb4/kparse.c index e72295c48..808330fc7 100644 --- a/src/lib/krb4/kparse.c +++ b/src/lib/krb4/kparse.c @@ -47,12 +47,11 @@ #define TRUE 1 #endif -#define void int - #define MAXKEY 80 #define MAXVALUE 80 -static char *strutol(); +static char *strutol PROTOTYPE((char *)); + #ifndef HAVE_STRDUP static char *strdup(); @@ -327,6 +326,7 @@ int fGetKeywordValue( fp, keyword, klen, value, vlen ) } while ( !gotit ); /*NOTREACHED*/ + return 0; /* to keep gcc happy */ } /* -- 2.26.2