diff --git a/src/rx/rx.c b/src/rx/rx.c index 255acc6d17..27e31c9753 100644 --- a/src/rx/rx.c +++ b/src/rx/rx.c @@ -6560,8 +6560,6 @@ rx_GetServerDebug(osi_socket socket, afs_uint32 remoteAddr, afs_uint32 * supportedValues) { struct rx_debugIn in; - afs_int32 *lp = (afs_int32 *) stat; - int i; afs_int32 rc = 0; *supportedValues = 0; @@ -6623,6 +6621,7 @@ rx_GetServerStats(osi_socket socket, afs_uint32 remoteAddr, afs_uint32 * supportedValues) { struct rx_debugIn in; + int i; afs_int32 *lp = (afs_int32 *) stat; afs_int32 rc = 0; diff --git a/src/rx/rx_packet.c b/src/rx/rx_packet.c index 870156783a..60eb416b6b 100644 --- a/src/rx/rx_packet.c +++ b/src/rx/rx_packet.c @@ -18,81 +18,77 @@ RCSID ("$Header$"); #ifdef KERNEL -#if defined(UKERNEL) -#include "afs/sysincludes.h" -#include "afsincludes.h" -#include "rx/rx_kcommon.h" -#include "rx/rx_clock.h" -#include "rx/rx_queue.h" -#include "rx/rx_packet.h" -#else /* defined(UKERNEL) */ -#ifdef RX_KERNEL_TRACE -#include "../rx/rx_kcommon.h" -#endif -#include "h/types.h" -#ifndef AFS_LINUX20_ENV -#include "h/systm.h" -#endif -#if defined(AFS_SGI_ENV) || defined(AFS_HPUX110_ENV) -#include "afs/sysincludes.h" -#endif -#if defined(AFS_OBSD_ENV) -#include "h/proc.h" -#endif -#include "h/socket.h" -#if !defined(AFS_SUN5_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_HPUX110_ENV) -#if !defined(AFS_OSF_ENV) && !defined(AFS_AIX41_ENV) -#include "sys/mount.h" /* it gets pulled in by something later anyway */ -#endif -#include "h/mbuf.h" -#endif -#include "netinet/in.h" -#include "afs/afs_osi.h" -#include "rx_kmutex.h" -#include "rx/rx_clock.h" -#include "rx/rx_queue.h" -#ifdef AFS_SUN5_ENV -#include -#endif -#include "rx/rx_packet.h" -#endif /* defined(UKERNEL) */ -#include "rx/rx_globals.h" +# if defined(UKERNEL) +# include "afs/sysincludes.h" +# include "afsincludes.h" +# include "rx/rx_kcommon.h" +# include "rx/rx_clock.h" +# include "rx/rx_queue.h" +# include "rx/rx_packet.h" +# else /* defined(UKERNEL) */ +# ifdef RX_KERNEL_TRACE +# include "../rx/rx_kcommon.h" +# endif +# include "h/types.h" +# ifndef AFS_LINUX20_ENV +# include "h/systm.h" +# endif +# if defined(AFS_SGI_ENV) || defined(AFS_HPUX110_ENV) +# include "afs/sysincludes.h" +# endif +# if defined(AFS_OBSD_ENV) +# include "h/proc.h" +# endif +# include "h/socket.h" +# if !defined(AFS_SUN5_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_HPUX110_ENV) +# if !defined(AFS_OSF_ENV) && !defined(AFS_AIX41_ENV) +# include "sys/mount.h" /* it gets pulled in by something later anyway */ +# endif +# include "h/mbuf.h" +# endif +# include "netinet/in.h" +# include "afs/afs_osi.h" +# include "rx_kmutex.h" +# include "rx/rx_clock.h" +# include "rx/rx_queue.h" +# ifdef AFS_SUN5_ENV +# include +# endif +# include "rx/rx_packet.h" +# endif /* defined(UKERNEL) */ +# include "rx/rx_internal.h" +# include "rx/rx_globals.h" #else /* KERNEL */ -#include "sys/types.h" -#include -#include -#if defined(AFS_NT40_ENV) -#ifdef AFS_NT40_ENV -#include -#ifndef EWOULDBLOCK -#define EWOULDBLOCK WSAEWOULDBLOCK -#endif -#else -#include -#include -#endif /* AFS_NT40_ENV */ -#include "rx_user.h" -#include "rx_xmit_nt.h" -#include -#else -#include -#include -#endif -#include "rx_clock.h" -#include "rx_internal.h" -#include "rx.h" -#include "rx_queue.h" -#ifdef AFS_SUN5_ENV -#include -#endif -#include "rx_packet.h" -#include "rx_globals.h" -#include -#include -#include -#ifdef HAVE_UNISTD_H -#include -#endif +# include "sys/types.h" +# include +# include +# if defined(AFS_NT40_ENV) +# include +# ifndef EWOULDBLOCK +# define EWOULDBLOCK WSAEWOULDBLOCK +# endif +# include "rx_user.h" +# include "rx_xmit_nt.h" +# include +# else +# include +# include +# endif +# include "rx_clock.h" +# include "rx_internal.h" +# include "rx.h" +# include "rx_queue.h" +# ifdef AFS_SUN5_ENV +# include +# endif +# include "rx_packet.h" +# include "rx_globals.h" +# include +# include +# include +# ifdef HAVE_UNISTD_H +# include +# endif #endif /* KERNEL */ #ifdef RX_LOCKS_DB