summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/svc_auth.c
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2015-09-22 15:40:07 +0000
committerrodrigc <rodrigc@FreeBSD.org>2015-09-22 15:40:07 +0000
commit5200f4be667a336fb2b90bdad8b6dab5d0979aa6 (patch)
tree2e8901f302dad25f0bd647f68a1d6c9423986c96 /lib/libc/rpc/svc_auth.c
parent3fa0d9942f4943ada80c76279fcfd99262c878c6 (diff)
downloadFreeBSD-src-5200f4be667a336fb2b90bdad8b6dab5d0979aa6.zip
FreeBSD-src-5200f4be667a336fb2b90bdad8b6dab5d0979aa6.tar.gz
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
Diffstat (limited to 'lib/libc/rpc/svc_auth.c')
-rw-r--r--lib/libc/rpc/svc_auth.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/rpc/svc_auth.c b/lib/libc/rpc/svc_auth.c
index 6fe5bec..58435af 100644
--- a/lib/libc/rpc/svc_auth.c
+++ b/lib/libc/rpc/svc_auth.c
@@ -95,9 +95,7 @@ struct svc_auth_ops svc_auth_null_ops;
* invalid.
*/
enum auth_stat
-_authenticate(rqst, msg)
- struct svc_req *rqst;
- struct rpc_msg *msg;
+_authenticate(struct svc_req *rqst, struct rpc_msg *msg)
{
int cred_flavor;
struct authsvc *asp;
OpenPOWER on IntegriCloud