From f17d01e3e516e9e9bc1f0de45f15e3dd0751d4f5 Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Tue, 28 Feb 1995 09:07:00 +0000 Subject: [PATCH] * daemon.c, memmove.c, strcasecmp.c, strdup.c: Avoid includes. * memmove.c: Use HAS_SYS_TYPES_H. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5013 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/posix/ChangeLog | 6 ++++++ src/lib/krb5/posix/daemon.c | 2 +- src/lib/krb5/posix/memmove.c | 5 +++-- src/lib/krb5/posix/strcasecmp.c | 3 +-- src/lib/krb5/posix/strdup.c | 3 +-- 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/lib/krb5/posix/ChangeLog b/src/lib/krb5/posix/ChangeLog index acf9ce065..048ee35c7 100644 --- a/src/lib/krb5/posix/ChangeLog +++ b/src/lib/krb5/posix/ChangeLog @@ -1,3 +1,9 @@ +Tue Feb 28 01:05:42 1995 John Gilmore (gnu at toad.com) + + * daemon.c, memmove.c, strcasecmp.c, strdup.c: Avoid + includes. + * memmove.c: Use HAS_SYS_TYPES_H. + Thu Dec 22 16:33:02 1994 Theodore Y. Ts'o (tytso@dcl) * configure.in: diff --git a/src/lib/krb5/posix/daemon.c b/src/lib/krb5/posix/daemon.c index 8995ea03c..a752cf85f 100644 --- a/src/lib/krb5/posix/daemon.c +++ b/src/lib/krb5/posix/daemon.c @@ -38,7 +38,7 @@ #ifdef HAS_PATHS_H #include #endif -#include +#include "k5-int.h" #ifndef _PATH_DEVNULL #define _PATH_DEVNULL "/dev/null" diff --git a/src/lib/krb5/posix/memmove.c b/src/lib/krb5/posix/memmove.c index de1116548..5126ed26c 100644 --- a/src/lib/krb5/posix/memmove.c +++ b/src/lib/krb5/posix/memmove.c @@ -38,9 +38,10 @@ /* based on @(#)bcopy.c 5.11 (Berkeley) 6/21/91 */ -#include -#include +#include "k5-int.h" +#ifdef HAS_SYS_TYPES_H #include +#endif #ifdef USE_STRING_H #include #else diff --git a/src/lib/krb5/posix/strcasecmp.c b/src/lib/krb5/posix/strcasecmp.c index 0c23f7faa..efc0ecaa4 100644 --- a/src/lib/krb5/posix/strcasecmp.c +++ b/src/lib/krb5/posix/strcasecmp.c @@ -31,8 +31,7 @@ * SUCH DAMAGE. */ -#include -#include +#include "k5-int.h" #include #ifdef USE_STRING_H #include diff --git a/src/lib/krb5/posix/strdup.c b/src/lib/krb5/posix/strdup.c index b0fbf5119..c4b52bf19 100644 --- a/src/lib/krb5/posix/strdup.c +++ b/src/lib/krb5/posix/strdup.c @@ -19,8 +19,7 @@ /* based on @(#)strdup.c 5.3 (Berkeley) 6/1/90 */ -#include -#include +#include "k5-int.h" /* For "const" */ char * strdup(str) -- 2.26.2