]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-rxstat-prototypes-20090316
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Mon, 16 Mar 2009 15:07:11 +0000 (15:07 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 16 Mar 2009 15:07:11 +0000 (15:07 +0000)
LICENSE IPL10
FIXES 124235

prototype the rxstat directory

(cherry picked from commit 97fad3a313088cb0ca5c4966fb9d24dedbecf146)

src/bozo/bosserver.c
src/rxstat/Makefile.in
src/rxstat/NTMakefile
src/rxstat/rxstat_prototypes.h [new file with mode: 0644]

index 554c58ff59f9ab479ff2554f1365f09b9f0fae86..ba68dc69e9dad681ad40cebefb088cabe73eea88 100644 (file)
@@ -41,7 +41,7 @@ RCSID
 #include "bosprototypes.h"
 #include <rx/rxkad.h>
 #include <rx/rxstat.h>
-#include <rxstat/rxstat_prototype.h>
+#include <rxstat/rxstat_prototypes.h>
 #include <afs/keys.h>
 #include <afs/ktime.h>
 #include <afs/afsutil.h>
index 4850bf2c9dde18fb97c719f229a0785a6095c792..fe6f8cd6302b056013e24acd89d105bd8c950af4 100644 (file)
@@ -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
 
index 9f04932122dffca11b4489028f2af0041c1654a1..d16a05a886a7aea84bf77eb98e451af9475cde29 100644 (file)
@@ -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 (file)
index 0000000..22cd802
--- /dev/null
@@ -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