]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
systm-h-header-inclusion-20060227
authorChas Williams <chas@cmf.nrl.navy.mil>
Tue, 28 Feb 2006 00:17:52 +0000 (00:17 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 28 Feb 2006 00:17:52 +0000 (00:17 +0000)
FIXES 24765

avoid implicit references by including the prototypes from the header except on linux

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
FIXES 24765

avoid implicit references by including the prototypes from the header except on
linux

src/rx/rx_clock.h
src/rx/rx_rdwr.c
src/rxkad/domestic/crypt_conn.c
src/rxkad/domestic/fcrypt.c
src/rxkad/rxkad_client.c
src/rxkad/rxkad_common.c
src/rxkad/rxkad_server.c

index 9600e71bb54c71a1b66e772c66db040f89ec852a..6b13f794c506f5e7146efaa9cc0e7be5b755ac7d 100644 (file)
@@ -14,7 +14,7 @@
 #define _CLOCK_
 
 #ifdef KERNEL
-#if defined(AFS_AIX_ENV) || defined(AFS_AUX_ENV)
+#if defined(AFS_AIX_ENV) || defined(AFS_AUX_ENV) || defined(AFS_SUN5_ENV)
 #include "h/systm.h"
 #include "h/time.h"
 #endif /* System V */
index 49319acd7bf4d1ed2a96cf9b796d73ee08987108..205adf92532069791298073c8daf2a2ff8c91cda 100644 (file)
@@ -28,6 +28,9 @@ RCSID
 #include "h/types.h"
 #include "h/time.h"
 #include "h/stat.h"
+#if defined(AFS_AIX_ENV) || defined(AFS_AUX_ENV) || defined(AFS_SUN5_ENV) 
+#include "h/systm.h"
+#endif
 #ifdef AFS_OSF_ENV
 #include <net/net_globals.h>
 #endif /* AFS_OSF_ENV */
index 6a3484b65bf48104ebcc882977e76602976ad12e..f827e04d7efc56aea474ffc2c0273a25cdd9ff23 100644 (file)
@@ -25,6 +25,9 @@ RCSID
 #include "afs/stds.h"
 #ifndef UKERNEL
 #include "h/types.h"
+#if defined(AFS_AIX_ENV) || defined(AFS_AUX_ENV) || defined(AFS_SUN5_ENV)
+#include "h/systm.h"
+#endif
 #include "rx/rx.h"
 #include "netinet/in.h"
 #else /* !UKERNEL */
index 62f6d827895c7f5f1850ac3d6c3125ed0e74453c..35e69371f6b855babc697da24edca10bbf7b3bbc 100644 (file)
@@ -26,6 +26,9 @@ RCSID
 #ifdef KERNEL
 #ifndef UKERNEL
 #include "afs/stds.h"
+#if defined(AFS_AIX_ENV) || defined(AFS_AUX_ENV) || defined(AFS_SUN5_ENV) 
+#include "h/systm.h"
+#endif
 #include "h/types.h"
 #if !defined(AFS_LINUX20_ENV) && !defined(AFS_OBSD_ENV)
 #include "netinet/in.h"
index 8fe23abee6eb11d959b9e94190b4a1ea55e32042..8db7dd07ecb6ea3f654354276f5f097e794fe1f2 100644 (file)
@@ -26,6 +26,9 @@ RCSID
 #ifndef UKERNEL
 #include "h/types.h"
 #include "h/time.h"
+#if defined(AFS_AIX_ENV) || defined(AFS_AUX_ENV) || defined(AFS_SUN5_ENV) 
+#include "h/systm.h"
+#endif
 #ifdef AFS_LINUX20_ENV
 #include "h/socket.h"
 #endif
index 84f1c17e833d359b8ab74799729719be4c27c93d..624d820a1447511f88b90fd8df9b4b2e58147e06 100644 (file)
@@ -29,7 +29,7 @@ RCSID
 #ifndef UKERNEL
 #include "afs/stds.h"
 #include "afs/afs_osi.h"
-#ifdef AFS_AIX_ENV
+#if defined(AFS_AIX_ENV) || defined(AFS_AUX_ENV) || defined(AFS_SUN5_ENV) 
 #include "h/systm.h"
 #endif
 #if defined(AFS_DARWIN60_ENV) || defined(AFS_OBSD_ENV)
index 0ec81d54815b2877b344b189ce16ae4391f52781..630971580c4ce6a14fe7582a33fa7affd67fd41f 100644 (file)
@@ -19,6 +19,9 @@ RCSID
 
 #include <afs/stds.h>
 #include <sys/types.h>
+#if defined(AFS_AIX_ENV) || defined(AFS_AUX_ENV) || defined(AFS_SUN5_ENV) 
+#include <sys/systm.h>
+#endif
 #include <time.h>
 #ifdef AFS_NT40_ENV
 #include <winsock2.h>