diff options
author | Ezra Peisach <epeisach@mit.edu> | 2000-07-18 14:33:51 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2000-07-18 14:33:51 +0000 |
commit | bd4433ed64dfa06761039aaa066d946856ef6d7a (patch) | |
tree | d0ffff7b9ea56729990b5707a580f933f63e3d5e /src/lib/krb5/krb/str_conv.c | |
parent | 9cdd0d5c7fd99dd6ea4cea4817c31954eb3024b0 (diff) | |
download | krb5-bd4433ed64dfa06761039aaa066d946856ef6d7a.tar.gz krb5-bd4433ed64dfa06761039aaa066d946856ef6d7a.tar.xz krb5-bd4433ed64dfa06761039aaa066d946856ef6d7a.zip |
* vfy_increds.c: include int-proto.h for krb5_libdefault_boolean
prototype.
* t_ser.c (ser_eblock_test): ifdef out old eblock serialization
test which is no longer called. (see 1999-09-01 ChangeLog)
* t_kerb.c: Cast argument to fprintf to long to agree with format
string.
* t_deltat.c: If MIN is defined, undef before redefined as 60.
* str_conv.c: Provide strptime prototype if the system header
files fail to provide a prototype.
* int-proto.h: Add prototype for krb5_libdefault_boolean()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12555 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/krb/str_conv.c')
-rw-r--r-- | src/lib/krb5/krb/str_conv.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/str_conv.c b/src/lib/krb5/krb/str_conv.c index 38cef50e3a..e795bd253b 100644 --- a/src/lib/krb5/krb/str_conv.c +++ b/src/lib/krb5/krb/str_conv.c @@ -136,7 +136,12 @@ krb5_salttype_to_string(salttype, buffer, buflen) static size_t strftime (char *, size_t, const char *, const struct tm *); #endif -#ifndef HAVE_STRPTIME +#ifdef HAVE_STRPTIME +#ifdef NEED_STRPTIME_PROTOTYPE +extern char *strptime (const char *, const char *, + struct tm *); +#endif +#else /* HAVE_STRPTIME */ #undef strptime #define strptime my_strptime static char *strptime (const char *, const char *, struct tm *); |