From 97fad3a313088cb0ca5c4966fb9d24dedbecf146 Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Mon, 16 Mar 2009 15:06:54 +0000 Subject: [PATCH] rxstat-prototypes-20090316 LICENSE IPL10 FIXES 124235 prototype the rxstat directory --- src/bozo/bosserver.c | 2 +- src/rxstat/Makefile.in | 11 ++++++++++- src/rxstat/NTMakefile | 3 ++- src/rxstat/rxstat_prototypes.h | 16 ++++++++++++++++ 4 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 src/rxstat/rxstat_prototypes.h 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 55a98564f..ca2790265 100644 --- a/src/rxstat/Makefile.in +++ b/src/rxstat/Makefile.in @@ -17,11 +17,15 @@ 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 ${TOP_INCDIR}/rx/rxstat.h: rxstat.h ${INSTALL_DATA} $? $@ +${TOP_INCDIR}/rx/rxstat_prototypes.h: rxstat_prototypes.h + ${INSTALL_DATA} $? $@ + ${TOP_LIBDIR}/librxstat.a: librxstat.a ${INSTALL_DATA} $? $@ @@ -58,18 +62,23 @@ Krxstat.ss.c: rxstat.xg Krxstat.xdr.c: rxstat.xg ${RXGEN} -x -k -c -o $@ ${srcdir}/rxstat.xg +${DEST}/include/rx/rxstat_prototypes.h: rxstat_prototypes.h + ${INSTALL} $? $@ + # # Install targets # install: rxstat.h librxstat.a ${INSTALL} -d ${DESTDIR}${includedir}/rx ${INSTALL} -d ${DESTDIR}${libdir} + ${INSTALL_DATA} rxstat_prototypes.h ${DESTDIR}${includedir}/rx/rxstat_prototypes.h ${INSTALL_DATA} rxstat.h ${DESTDIR}${includedir}/rx/rxstat.h ${INSTALL_DATA} librxstat.a ${DESTDIR}${libdir}/librxstat.a dest: rxstat.h librxstat.a ${INSTALL} -d ${DEST}/include/rx ${INSTALL} -d ${DEST}/lib + ${INSTALL_DATA} rxstat_prototypes.h ${DEST}/include/rx/rxstat_prototypes.h ${INSTALL_DATA} rxstat.h ${DEST}/include/rx/rxstat.h ${INSTALL_DATA} librxstat.a ${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 -- 2.39.5