From: Simon Wilkinson Date: Mon, 16 Mar 2009 15:07:11 +0000 (+0000) Subject: DEVEL15-rxstat-prototypes-20090316 X-Git-Tag: openafs-devel-1_5_58~81 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=951a16f124d80427ac8ffda6c69abcf742f11d4e;p=packages%2Fo%2Fopenafs.git DEVEL15-rxstat-prototypes-20090316 LICENSE IPL10 FIXES 124235 prototype the rxstat directory (cherry picked from commit 97fad3a313088cb0ca5c4966fb9d24dedbecf146) --- diff --git a/src/bozo/bosserver.c b/src/bozo/bosserver.c index 554c58ff5..ba68dc69e 100644 --- a/src/bozo/bosserver.c +++ b/src/bozo/bosserver.c @@ -41,7 +41,7 @@ RCSID #include "bosprototypes.h" #include #include -#include +#include #include #include #include diff --git a/src/rxstat/Makefile.in b/src/rxstat/Makefile.in index 4850bf2c9..fe6f8cd63 100644 --- a/src/rxstat/Makefile.in +++ b/src/rxstat/Makefile.in @@ -13,7 +13,8 @@ LIBOBJS = rxstat.cs.o rxstat.ss.o rxstat.xdr.o rxstat.o all: depinstall ${TOP_LIBDIR}/librxstat.a depinstall: \ - ${TOP_INCDIR}/rx/rxstat.h Krxstat.cs.c Krxstat.ss.c Krxstat.xdr.c + ${TOP_INCDIR}/rx/rxstat.h ${TOP_INCDIR}/rx/rxstat_prototypes.h Krxstat.cs.c \ + Krxstat.ss.c Krxstat.xdr.c # # Build targets @@ -59,6 +60,9 @@ ${DEST}/lib/librxstat.a: librxstat.a ${DEST}/include/rx/rxstat.h: rxstat.h ${INSTALL} $? $@ +${DEST}/include/rx/rxstat_prototypes.h: rxstat_prototypes.h + ${INSTALL} $? $@ + # # Misc. targets # @@ -72,11 +76,17 @@ ${DESTDIR}${includedir}/rx/rxstat.h: rxstat.h ${TOP_INCDIR}/rx/rxstat.h: rxstat.h ${INSTALL} $? $@ +${DESTDIR}${includedir}/rx/rxstat_prototypes.h: rxstat_prototypes.h + ${INSTALL} $? $@ + +${TOP_INCDIR}/rx/rxstat_prototypes.h: rxstat_prototypes.h + ${INSTALL} $? $@ + ${DESTDIR}${libdir}/librxstat.a: librxstat.a ${INSTALL} $? $@ ${TOP_LIBDIR}/librxstat.a: librxstat.a ${INSTALL} $? $@ -dest: ${DEST}/include/rx/rxstat.h ${DEST}/lib/librxstat.a +dest: ${DEST}/include/rx/rxstat.h ${DEST}/include/rx/rxstat_prototypes.h ${DEST}/lib/librxstat.a diff --git a/src/rxstat/NTMakefile b/src/rxstat/NTMakefile index 9f0493212..d16a05a88 100644 --- a/src/rxstat/NTMakefile +++ b/src/rxstat/NTMakefile @@ -14,7 +14,8 @@ RELDIR=rxstat INCFILEDIR = $(DESTDIR)\include INCFILES =\ - $(INCFILEDIR)\rx\rxstat.h + $(INCFILEDIR)\rx\rxstat.h \ + $(INCFILEDIR)\rx\rxstat_prototypes.h # Library component lists. diff --git a/src/rxstat/rxstat_prototypes.h b/src/rxstat/rxstat_prototypes.h new file mode 100644 index 000000000..22cd80204 --- /dev/null +++ b/src/rxstat/rxstat_prototypes.h @@ -0,0 +1,16 @@ +/* + * Copyright 2000, International Business Machines Corporation and others. + * All Rights Reserved. + * + * This software has been released under the terms of the IBM Public + * License. For details, see the LICENSE file in the top-level source + * directory or online at http://www.openafs.org/dl/license10.html + */ + +#ifndef _RXSTATS_PROTOTYPES_H +#define _RXSTATS_PROTOTYPES_H + +/* rxstat.ss.c */ +extern int RXSTATS_ExecuteRequest(register struct rx_call *z_call); + +#endif