diff options
| author | Tom Yu <tlyu@mit.edu> | 1997-10-02 20:42:05 +0000 |
|---|---|---|
| committer | Tom Yu <tlyu@mit.edu> | 1997-10-02 20:42:05 +0000 |
| commit | 467e062e49f66de90febd82ddcfe58f27ccf3903 (patch) | |
| tree | 27294ec9195e4159744fe8556ce5697a4ae8bbb7 /src/lib/krb4 | |
| parent | ad6f534b64e697eff7d8ee01243d2ec0161e7f21 (diff) | |
Punt HAS_STDLIB_H, NO_STDLIB_H, POSIX_TYPES; see individual ChangeLogs
for details
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10204 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb4')
| -rw-r--r-- | src/lib/krb4/ChangeLog | 16 | ||||
| -rw-r--r-- | src/lib/krb4/configure.in | 2 | ||||
| -rw-r--r-- | src/lib/krb4/kparse.c | 2 | ||||
| -rw-r--r-- | src/lib/krb4/memcache.c | 2 | ||||
| -rw-r--r-- | src/lib/krb4/mk_preauth.c | 2 | ||||
| -rw-r--r-- | src/lib/krb4/realmofhost.c | 2 | ||||
| -rw-r--r-- | src/lib/krb4/send_to_kdc.c | 2 | ||||
| -rw-r--r-- | src/lib/krb4/tkt_string.c | 2 |
8 files changed, 23 insertions, 7 deletions
diff --git a/src/lib/krb4/ChangeLog b/src/lib/krb4/ChangeLog index 2f62b2bdd..08d828d99 100644 --- a/src/lib/krb4/ChangeLog +++ b/src/lib/krb4/ChangeLog @@ -1,3 +1,19 @@ +Tue Sep 30 19:00:33 1997 Tom Yu <tlyu@mit.edu> + + * tkt_string.c: Replace HAS_STDLIB_H with something more sane. + + * send_to_kdc.c: Replace HAS_STDLIB_H with something more sane. + + * realmofhost.c: Replace HAS_STDLIB_H with something more sane. + + * mk_preauth.c: Repalce HAS_STDLIB_H with something more sane. + + * memcache.c: Replace HAS_STDLIB_H with something more sane. + + * kparse.c: Replace HAS_STDLIB_H with something more sane. + + * configure.in: Replace HAS_STDLIB_H with something more sane. + Thu Sep 25 21:11:16 1997 Tom Yu <tlyu@mit.edu> * put_svc_key.c: Replace HAS_UNISTD_H with something more sane. diff --git a/src/lib/krb4/configure.in b/src/lib/krb4/configure.in index 179174e6e..10acfeda6 100644 --- a/src/lib/krb4/configure.in +++ b/src/lib/krb4/configure.in @@ -9,7 +9,7 @@ KRB5_POSIX_LOCKS AC_CHECK_HEADERS(sys/select.h time.h unistd.h) dnl Could check for full stdc environment, but will only test dnl for stdlib.h -AC_HEADER_CHECK(stdlib.h,AC_DEFINE(HAS_STDLIB_H)) +AC_CHECK_HEADERS(stdlib.h) AC_C_CROSS dnl pretty up output, eval this before AC_TRY_RUN dnl need MSBFIRST, LSBFIRST, BITS16, BITS32 diff --git a/src/lib/krb4/kparse.c b/src/lib/krb4/kparse.c index 198ae1e89..811f0bf39 100644 --- a/src/lib/krb4/kparse.c +++ b/src/lib/krb4/kparse.c @@ -54,7 +54,7 @@ static char *strutol(); #ifndef HAVE_STRSAVE static char *strsave(); #endif -#ifndef HAS_STDLIB_H +#ifndef HAVE_STDLIB_H extern char *malloc(); #endif diff --git a/src/lib/krb4/memcache.c b/src/lib/krb4/memcache.c index 7484342aa..d2669df9b 100644 --- a/src/lib/krb4/memcache.c +++ b/src/lib/krb4/memcache.c @@ -35,7 +35,7 @@ typedef DWORD OSErr; #include <stdio.h> #include <errno.h> -#ifdef HAS_STDLIB_H +#ifdef HAVE_STDLIB_H #include <stdlib.h> #else extern char *malloc (), *realloc (); diff --git a/src/lib/krb4/mk_preauth.c b/src/lib/krb4/mk_preauth.c index feb12b7ab..949fd1d25 100644 --- a/src/lib/krb4/mk_preauth.c +++ b/src/lib/krb4/mk_preauth.c @@ -15,7 +15,7 @@ #include "krb.h" #include <string.h> -#ifdef HAS_STDLIB_H +#ifdef HAVE_STDLIB_H #include <stdlib.h> #else extern char *malloc(), *calloc(), *realloc(); diff --git a/src/lib/krb4/realmofhost.c b/src/lib/krb4/realmofhost.c index b15ce9414..90e01bb34 100644 --- a/src/lib/krb4/realmofhost.c +++ b/src/lib/krb4/realmofhost.c @@ -16,7 +16,7 @@ #include <string.h> #include <stdio.h> #include <ctype.h> -#ifdef HAS_STDLIB_H +#ifdef HAVE_STDLIB_H #include <stdlib.h> #else extern char *malloc(); diff --git a/src/lib/krb4/send_to_kdc.c b/src/lib/krb4/send_to_kdc.c index 7f9620d12..c7e0fb33b 100644 --- a/src/lib/krb4/send_to_kdc.c +++ b/src/lib/krb4/send_to_kdc.c @@ -21,7 +21,7 @@ #define S_AD_SZ sizeof(struct sockaddr_in) -#ifdef HAS_STDLIB_H +#ifdef HAVE_STDLIB_H #include <stdlib.h> #else extern char *malloc(), *calloc(), *realloc(); diff --git a/src/lib/krb4/tkt_string.c b/src/lib/krb4/tkt_string.c index f1554ab97..db1230b90 100644 --- a/src/lib/krb4/tkt_string.c +++ b/src/lib/krb4/tkt_string.c @@ -14,7 +14,7 @@ #include <string.h> #include <sys/types.h> -#ifdef HAS_STDLIB_H +#ifdef HAVE_STDLIB_H #include <stdlib.h> #else char *getenv(); |
