From: Chas Williams Date: Tue, 28 Feb 2006 00:17:52 +0000 (+0000) Subject: systm-h-header-inclusion-20060227 X-Git-Tag: mp-rxtcp-20060314~47 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c41253bda7340f19b5f16d009393bf32f30ad24c;p=packages%2Fo%2Fopenafs.git systm-h-header-inclusion-20060227 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 --- diff --git a/src/rx/rx_clock.h b/src/rx/rx_clock.h index 9600e71bb..6b13f794c 100644 --- a/src/rx/rx_clock.h +++ b/src/rx/rx_clock.h @@ -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 */ diff --git a/src/rx/rx_rdwr.c b/src/rx/rx_rdwr.c index 49319acd7..205adf925 100644 --- a/src/rx/rx_rdwr.c +++ b/src/rx/rx_rdwr.c @@ -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 #endif /* AFS_OSF_ENV */ diff --git a/src/rxkad/domestic/crypt_conn.c b/src/rxkad/domestic/crypt_conn.c index 6a3484b65..f827e04d7 100644 --- a/src/rxkad/domestic/crypt_conn.c +++ b/src/rxkad/domestic/crypt_conn.c @@ -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 */ diff --git a/src/rxkad/domestic/fcrypt.c b/src/rxkad/domestic/fcrypt.c index 62f6d8278..35e69371f 100644 --- a/src/rxkad/domestic/fcrypt.c +++ b/src/rxkad/domestic/fcrypt.c @@ -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" diff --git a/src/rxkad/rxkad_client.c b/src/rxkad/rxkad_client.c index 8fe23abee..8db7dd07e 100644 --- a/src/rxkad/rxkad_client.c +++ b/src/rxkad/rxkad_client.c @@ -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 diff --git a/src/rxkad/rxkad_common.c b/src/rxkad/rxkad_common.c index 84f1c17e8..624d820a1 100644 --- a/src/rxkad/rxkad_common.c +++ b/src/rxkad/rxkad_common.c @@ -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) diff --git a/src/rxkad/rxkad_server.c b/src/rxkad/rxkad_server.c index 0ec81d548..630971580 100644 --- a/src/rxkad/rxkad_server.c +++ b/src/rxkad/rxkad_server.c @@ -19,6 +19,9 @@ RCSID #include #include +#if defined(AFS_AIX_ENV) || defined(AFS_AUX_ENV) || defined(AFS_SUN5_ENV) +#include +#endif #include #ifdef AFS_NT40_ENV #include