aboutsummaryrefslogtreecommitdiff
path: root/include/rpc
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-01-16 11:46:05 +0000
committerBruce Evans <bde@FreeBSD.org>1998-01-16 11:46:05 +0000
commit9a03398dd1501a357de8ddf21f2e8966d7552262 (patch)
tree2510484e450ca425e9dce5add7764ad9306318fb /include/rpc
parent03061ce6e5ec7e8b218982f74b0b3fa1879cd676 (diff)
Added a forward struct declaration so that this file is less
self-insufficent.
Notes
Notes: svn path=/head/; revision=32549
Diffstat (limited to 'include/rpc')
-rw-r--r--include/rpc/svc.h4
-rw-r--r--include/rpc/svc_auth.h10
2 files changed, 10 insertions, 4 deletions
diff --git a/include/rpc/svc.h b/include/rpc/svc.h
index c6d48b93acab..c3f61cc9b85d 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.6 1996/12/30 13:59:40 peter Exp $
+ * $Id: svc.h,v 1.12 1997/05/28 04:45:13 wpaul Exp $
*/
/*
@@ -69,6 +69,8 @@ enum xprt_stat {
XPRT_IDLE
};
+struct rpc_msg;
+
/*
* Server side transport handle
*/
diff --git a/include/rpc/svc_auth.h b/include/rpc/svc_auth.h
index 3dd14936dbc1..c01ed05ff7b6 100644
--- a/include/rpc/svc_auth.h
+++ b/include/rpc/svc_auth.h
@@ -28,7 +28,7 @@
*
* from: @(#)svc_auth.h 1.6 86/07/16 SMI
* from: @(#)svc_auth.h 2.1 88/07/29 4.0 RPCSRC
- * $Id: svc_auth.h,v 1.4 1996/01/30 23:32:36 mpp Exp $
+ * $Id: svc_auth.h,v 1.9 1997/05/28 04:45:14 wpaul Exp $
*/
/*
@@ -40,13 +40,17 @@
#ifndef _RPC_SVCAUTH_H
#define _RPC_SVCAUTH_H
+struct rpc_msg;
+struct svc_req;
+
/*
* Server side authenticator
*/
__BEGIN_DECLS
extern enum auth_stat _authenticate __P((struct svc_req *, struct rpc_msg *));
-extern int svc_auth_reg __P(( register int, enum auth_stat (*)() ));
-extern enum auth_stat _svcauth_des __P(( struct svc_req *, struct rpc_msg * ));
+extern int svc_auth_reg __P((int, enum auth_stat (*)(struct svc_req *,
+ struct rpc_msg *)));
+extern enum auth_stat _svcauth_des __P((struct svc_req *, struct rpc_msg *));
__END_DECLS
#endif /* !_RPC_SVCAUTH_H */