summaryrefslogtreecommitdiffstats
path: root/include/rpc/svc.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-09-21 02:43:30 +0000
committerbde <bde@FreeBSD.org>1998-09-21 02:43:30 +0000
commitb973f78b945eb05f88320aaf3fa16c2c8ba1b64a (patch)
tree5c89dde51e22708b0b97d39e0aff4c3f3719a1af /include/rpc/svc.h
parent5548dbb67b23ce7cfd9b84c2f5f21ffc30b60c10 (diff)
downloadFreeBSD-src-b973f78b945eb05f88320aaf3fa16c2c8ba1b64a.zip
FreeBSD-src-b973f78b945eb05f88320aaf3fa16c2c8ba1b64a.tar.gz
Don't declare functions without a prototype if KERNEL is defined. This
fixes lots of warnings about missing prototypes in sys/netatm/spans/*.
Diffstat (limited to 'include/rpc/svc.h')
-rw-r--r--include/rpc/svc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/rpc/svc.h b/include/rpc/svc.h
index c3f61cc..698d8f9 100644
--- a/include/rpc/svc.h
+++ b/include/rpc/svc.h
@@ -28,7 +28,7 @@
*
* from: @(#)svc.h 1.20 88/02/08 SMI
* from: @(#)svc.h 2.2 88/07/29 4.0 RPCSRC
- * $Id: svc.h,v 1.12 1997/05/28 04:45:13 wpaul Exp $
+ * $Id: svc.h,v 1.13 1998/01/16 11:46:01 bde Exp $
*/
/*
@@ -264,11 +264,13 @@ extern int svc_maxfd;
extern fd_set svc_fdset;
#define svc_fds svc_fdset.fds_bits[0] /* compatibility */
+#ifndef KERNEL
/*
* a small program implemented by the svc_rpc implementation itself;
* also see clnt.h for protocol numbers.
*/
extern void rpctest_service();
+#endif
__BEGIN_DECLS
extern void svc_getreq __P((int));
OpenPOWER on IntegriCloud