From: Ezra Peisach Date: Mon, 11 Jun 2001 15:18:40 +0000 (+0000) Subject: * str_conv.c: If strptime() is present on system without a X-Git-Tag: krb5-1.3-alpha1~1435 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8e97d48201f17b21d9e9794e2493b3a7699a7f3e;p=krb5.git * str_conv.c: If strptime() is present on system without a prototype, provide one. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13327 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 5e9061939..2802e8cb5 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,8 @@ +2001-06-11 Ezra Peisach + + * str_conv.c: If strptime() is present on system without a + prototype, provide one. + 2001-06-07 Ezra Peisach * vfy_increds.c (krb5_verify_init_creds): Get rid of a variable diff --git a/src/lib/krb5/krb/str_conv.c b/src/lib/krb5/krb/str_conv.c index 70fac19fa..29214c137 100644 --- a/src/lib/krb5/krb/str_conv.c +++ b/src/lib/krb5/krb/str_conv.c @@ -138,7 +138,7 @@ static size_t strftime (char *, size_t, const char *, const struct tm *); #endif #ifdef HAVE_STRPTIME -#ifdef NEED_STRPTIME_PROTOTYPE +#ifdef NEED_STRPTIME_PROTO extern char *strptime (const char *, const char *, struct tm *); #endif