]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
kauth-warning-cleanup-20011005
authorNathan Neulinger <nneul@umr.edu>
Fri, 5 Oct 2001 22:17:18 +0000 (22:17 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 5 Oct 2001 22:17:18 +0000 (22:17 +0000)
cleanup warnings from kauth (add headers)

17 files changed:
src/kauth/authclient.c
src/kauth/client.c
src/kauth/kaauxdb.c
src/kauth/kadatabase.c
src/kauth/kalocalcell.c
src/kauth/kalog.c
src/kauth/kas.c
src/kauth/kaserver.c
src/kauth/kautils.c
src/kauth/klog.c
src/kauth/kpasswd.c
src/kauth/kpwvalid.c
src/kauth/krb_tf.c
src/kauth/krb_udp.c
src/kauth/rebuild.c
src/kauth/token.c
src/kauth/user.c

index 704595aaf14844ae74dc719c4135111bf71544fc..82d7ecd5e8ad1bbc2798a4208036794715304eb8 100644 (file)
@@ -45,6 +45,13 @@ RCSID("$Header$");
 #include <sys/socket.h>
 #include <netinet/in.h>
 #endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
 #include <rx/rxkad.h>
 #include <afs/cellconfig.h>
 #include <ubik.h>
index c16c3d54b71136000a7c845434c4871668566237..8678c579cb82fc8caeeff25bbfdb0ea93811a586 100644 (file)
@@ -37,6 +37,13 @@ RCSID("$Header$");
 #include <winsock2.h>
 #include <crypt.h>
 #endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
 #include <afs/cellconfig.h>
 #include <afs/auth.h>
 #include <afs/afsutil.h>
index d1275e3ca42a87195bc645be8c05cc95ba803085..280f295985c989e9b8b5140295ad5f6f62099ecc 100644 (file)
 
 RCSID("$Header$");
 
-#include <fcntl.h>
 #ifdef AFS_NT40_ENV
-#include <fcntl.h>
 #include <io.h>
 #else
 #include <sys/file.h>
 #endif
+#ifdef HAVE_FCNTL_H
+#include <fcntl.h>
+#endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
 #include <rx/rxkad.h>
 #include "ubik_int.h"
 #include "kauth.h"
index e70b30d6912a46cbbd3aff8429fab277ace56826..d0a96ffae51396aed74ee9c2ae983c069349c843 100644 (file)
@@ -18,6 +18,13 @@ RCSID("$Header$");
 #else
 #include <netinet/in.h>
 #endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
 #include <lock.h>
 #include <ubik.h>
 #include <rx/xdr.h>
index 9047d12eb1beae67ce8d21569575fb8d204f616d..8b01262030b8aebef51541e20fb909f961f067e4 100644 (file)
@@ -36,6 +36,13 @@ RCSID("$Header$");
 #else
 #include <netinet/in.h>
 #endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
 #include <afs/cellconfig.h>
 #include <rx/xdr.h>
 #include <rx/rx.h>
index e95ab32fd17126451f97f53fba144a59c1d27158..c48b679ae9e74733edc77f9e531ebb5e5535c7e0 100644 (file)
@@ -23,10 +23,16 @@ RCSID("$Header$");
 
 #include <stdio.h>
 #include <afs/afsutil.h>
-#ifndef AFS_NT40_ENV
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
 #include <strings.h>
 #endif
+#endif
+#ifdef HAVE_FCNTL_H
 #include <fcntl.h>
+#endif
 #include <sys/types.h>
 #include <time.h>
 #include <signal.h>
index b7694199fc7f752b0fd65b8f7dc2db9a876b19e6..1de47739f827843a080fa117d2955ef16c05a18f 100644 (file)
@@ -28,6 +28,13 @@ RCSID("$Header$");
 #else
 #include <WINNT/afsevent.h>
 #endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
 #include <afs/cellconfig.h>
 #include <afs/com_err.h>
 
index c8a83d3238f669576798fd353d3066e43677464a..7a62c2821791c8fd122f378265ed6405ebec3f54 100644 (file)
@@ -15,7 +15,6 @@ RCSID("$Header$");
 #include <afs/stds.h>
 #include <sys/types.h>
 #ifdef AFS_NT40_ENV
-#include <fcntl.h>
 #include <winsock2.h>
 #include <WINNT/afsevent.h>
 #else
@@ -26,6 +25,16 @@ RCSID("$Header$");
 #include "kalog.h"           /* for OpenLog() */
 #include <time.h>
 #include <stdio.h>
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
+#ifdef HAVE_FCNTL_H
+#include <fcntl.h>
+#endif
 #ifdef AFS_AIX32_ENV
 #include <signal.h>
 #endif
index a240d938b5d87975769c8a5afb366602dfe96b18..397bdd78791fa730696b113bf4e9826c301aaa18 100644 (file)
@@ -21,6 +21,13 @@ RCSID("$Header$");
 #include <netinet/in.h>
 #include <sys/file.h>
 #endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
 #include <time.h>
 #include <stdio.h>
 #include <ctype.h>
index 485c59a1ab122010269f09e78c4b8f8336feb14c..b07094a815d949a96fcee7c48c707a5f38f49d91 100644 (file)
@@ -18,6 +18,13 @@ RCSID("$Header$");
 #ifdef AFS_AIX32_ENV
 #include <signal.h>
 #endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
 
 #include <lock.h>
 #include <ubik.h>
index 0db876f438898a57810cdb2e688e1693e8a54fed..b524cfcccdfe8a5189386e62ec69082be9b5efff 100644 (file)
@@ -28,6 +28,13 @@ RCSID("$Header$");
 #ifndef AFS_NT40_ENV
 #include <pwd.h>
 #endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
 #include <signal.h>
 #include <afs/com_err.h>
 #include <afs/auth.h>
index 07f26c34a1559e05a2949a373acdf68f215bbfcf..8653f9c712a08ca3ecbd118ccb06ae729be72fa2 100644 (file)
 RCSID("$Header$");
 
 #include <stdio.h>
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
 #ifdef AFS_NT40_ENV
 #include <WINNT/afsevent.h>
 #endif
index 2afb5464def3fada0d90329b457397006cdc4a8d..41cf8d1cba5960f33be245b101c9228fd03efb16 100644 (file)
 
 RCSID("$Header$");
 
-#ifdef AFS_NT40_ENV
+#ifdef HAVE_FCNTL_H
 #include <fcntl.h>
+#endif
+#ifdef AFS_NT40_ENV
 #include <io.h>
 #else
 #include <sys/file.h>
 #endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
 #include <sys/types.h>
 #include <rx/xdr.h>
 #include <errno.h>
index 816ebd416bad6ea1b0699e26dec3884ab61bee8b..79dbf777dcc2bfe23e2e2039b6467985fa42d13c 100644 (file)
@@ -27,6 +27,13 @@ RCSID("$Header$");
 #include <netdb.h>
 #include <netinet/in.h>
 #endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
 #include <afs/afsutil.h>
 #include <time.h>
 #include <afs/com_err.h>
index e25f2a616ac9f399cd92e543bf56744263d8c9e2..b3e6a94f58bf9fbd073699cfe4e60d78edce05bc 100644 (file)
@@ -22,6 +22,13 @@ RCSID("$Header$");
 #include <sys/file.h>
 #include <netinet/in.h>
 #endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
 #include <stdio.h>
 #include <errno.h>
 #include <time.h>
index 0de5a103bad3754f697d14819004350c5d7591b9..646cc9e51da564ff59256042e7fd4fcf84330548 100644 (file)
@@ -43,6 +43,13 @@ RCSID("$Header$");
 #include <sys/socket.h>
 #include <netinet/in.h>
 #endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
 /* netinet/in.h and cellconfig.h  are needed together */
 #include <afs/cellconfig.h>
     /* these are needed together */
index 00509706d9da189c09d584a7ab57aedbb4a10ee7..20ed0d9622e089dfe3e29ca2871a70efb9e934c1 100644 (file)
@@ -44,6 +44,13 @@ RCSID("$Header$");
 #else
 #include <netinet/in.h>
 #endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
 #include <afs/cellconfig.h>
 #include <afs/auth.h>
 #include <afs/ptint.h>