summaryrefslogtreecommitdiffstats
path: root/include/rpc/svc_auth.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rpc/svc_auth.h')
-rw-r--r--include/rpc/svc_auth.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/include/rpc/svc_auth.h b/include/rpc/svc_auth.h
index a36a01a..c6db440 100644
--- a/include/rpc/svc_auth.h
+++ b/include/rpc/svc_auth.h
@@ -1,4 +1,3 @@
-/* @(#)svc_auth.h 2.1 88/07/29 4.0 RPCSRC */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@@ -26,8 +25,11 @@
* Sun Microsystems, Inc.
* 2550 Garcia Avenue
* Mountain View, California 94043
+ *
+ * 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.1 1993/10/27 05:40:57 paul Exp $
*/
-/* @(#)svc_auth.h 1.6 86/07/16 SMI */
/*
* svc_auth.h, Service side of rpc authentication.
@@ -35,8 +37,14 @@
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
+#ifndef _RPC_SVCAUTH_H
+#define _RPC_SVCAUTH_H
/*
* Server side authenticator
*/
-extern enum auth_stat _authenticate();
+__BEGIN_DECLS
+extern enum auth_stat _authenticate __P((struct svc_req *, struct rpc_msg *));
+__END_DECLS
+
+#endif /* !_RPC_SVCAUTH_H */
OpenPOWER on IntegriCloud