summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/auth_none.c
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-12-03 17:10:37 +0000
committerngie <ngie@FreeBSD.org>2016-12-03 17:10:37 +0000
commitbf027d30f65946c403cff801d75f469e39fa3e48 (patch)
treeadb91d1373bf2713966c46ecfadaa47a2108bd57 /lib/libc/rpc/auth_none.c
parent7e1697c9902f5cbbfaf68ccd4c9423153c76f3b3 (diff)
downloadFreeBSD-src-bf027d30f65946c403cff801d75f469e39fa3e48.zip
FreeBSD-src-bf027d30f65946c403cff801d75f469e39fa3e48.tar.gz
MFC r287350:
r287350 (by rodrigc): Use ANSI C prototypes. Eliminates gcc 4.9 warnings.
Diffstat (limited to 'lib/libc/rpc/auth_none.c')
-rw-r--r--lib/libc/rpc/auth_none.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/rpc/auth_none.c b/lib/libc/rpc/auth_none.c
index 311fa55..0b846eb 100644
--- a/lib/libc/rpc/auth_none.c
+++ b/lib/libc/rpc/auth_none.c
@@ -65,9 +65,9 @@ static bool_t authnone_validate (AUTH *, struct opaque_auth *);
static bool_t authnone_refresh (AUTH *, void *);
static void authnone_destroy (AUTH *);
-extern bool_t xdr_opaque_auth();
+extern bool_t xdr_opaque_auth(XDR *, struct opaque_auth *);
-static struct auth_ops *authnone_ops();
+static struct auth_ops *authnone_ops(void);
static struct authnone_private {
AUTH no_client;
@@ -76,7 +76,7 @@ static struct authnone_private {
} *authnone_private;
AUTH *
-authnone_create()
+authnone_create(void)
{
struct authnone_private *ap = authnone_private;
XDR xdr_stream;
@@ -156,7 +156,7 @@ authnone_destroy(AUTH *client)
}
static struct auth_ops *
-authnone_ops()
+authnone_ops(void)
{
static struct auth_ops ops;
OpenPOWER on IntegriCloud