summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-31 18:28:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-31 18:28:56 +0000
commit456a5fcab775e8a18cffd5b1be3cca3a127e30a6 (patch)
tree4b7a5ce9dd4ab7f40899a2c609e53fafc8cc9b5c /lib
parenta873e9155b65a723a628484bc434c3f5c2a1032f (diff)
sprinkle a bit of ARGSUSED
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/rpc/auth_none.c6
-rw-r--r--lib/libc/rpc/clnt_raw.c6
-rw-r--r--lib/libc/rpc/clnt_tcp.c3
-rw-r--r--lib/libc/rpc/clnt_udp.c3
-rw-r--r--lib/libc/rpc/xdr_mem.c3
5 files changed, 16 insertions, 5 deletions
diff --git a/lib/libc/rpc/auth_none.c b/lib/libc/rpc/auth_none.c
index b542f868542..b693d0a98af 100644
--- a/lib/libc/rpc/auth_none.c
+++ b/lib/libc/rpc/auth_none.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth_none.c,v 1.9 2005/08/08 08:05:35 espie Exp $ */
+/* $OpenBSD: auth_none.c,v 1.10 2006/03/31 18:28:55 deraadt Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@@ -105,11 +105,13 @@ authnone_marshal(AUTH *client, XDR *xdrs)
ap->marshalled_client, ap->mcnt));
}
+/*ARGSUSED*/
static void
authnone_verf(struct __rpc_auth *none)
{
}
+/*ARGSUSED*/
static bool_t
authnone_validate(struct __rpc_auth *none, struct opaque_auth *noauth)
{
@@ -117,6 +119,7 @@ authnone_validate(struct __rpc_auth *none, struct opaque_auth *noauth)
return (TRUE);
}
+/*ARGSUSED*/
static bool_t
authnone_refresh(struct __rpc_auth *none)
{
@@ -124,6 +127,7 @@ authnone_refresh(struct __rpc_auth *none)
return (FALSE);
}
+/*ARGSUSED*/
static void
authnone_destroy(struct __rpc_auth *none)
{
diff --git a/lib/libc/rpc/clnt_raw.c b/lib/libc/rpc/clnt_raw.c
index 04c911b6668..1359356755f 100644
--- a/lib/libc/rpc/clnt_raw.c
+++ b/lib/libc/rpc/clnt_raw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clnt_raw.c,v 1.14 2005/08/08 08:05:35 espie Exp $ */
+/* $OpenBSD: clnt_raw.c,v 1.15 2006/03/31 18:28:55 deraadt Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@@ -198,6 +198,7 @@ call_again:
return (status);
}
+/*ARGSUSED*/
static void
clntraw_geterr(CLIENT *clnt, struct rpc_err *err)
{
@@ -220,17 +221,20 @@ clntraw_freeres(CLIENT *cl, xdrproc_t xdr_res, caddr_t res_ptr)
return ((*xdr_res)(xdrs, res_ptr));
}
+/*ARGSUSED*/
static void
clntraw_abort(CLIENT *clnt)
{
}
+/*ARGSUSED*/
static bool_t
clntraw_control(CLIENT *clnt, u_int i, void *v)
{
return (FALSE);
}
+/*ARGSUSED*/
static void
clntraw_destroy(CLIENT *clnt)
{
diff --git a/lib/libc/rpc/clnt_tcp.c b/lib/libc/rpc/clnt_tcp.c
index ec7130d6c5f..ecda89715f0 100644
--- a/lib/libc/rpc/clnt_tcp.c
+++ b/lib/libc/rpc/clnt_tcp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clnt_tcp.c,v 1.22 2005/08/08 08:05:35 espie Exp $ */
+/* $OpenBSD: clnt_tcp.c,v 1.23 2006/03/31 18:28:55 deraadt Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@@ -327,6 +327,7 @@ clnttcp_freeres(CLIENT *cl, xdrproc_t xdr_res, caddr_t res_ptr)
return ((*xdr_res)(xdrs, res_ptr));
}
+/*ARGSUSED*/
static void
clnttcp_abort(CLIENT *clnt)
{
diff --git a/lib/libc/rpc/clnt_udp.c b/lib/libc/rpc/clnt_udp.c
index ee3367ee06e..49a3ae43ae7 100644
--- a/lib/libc/rpc/clnt_udp.c
+++ b/lib/libc/rpc/clnt_udp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clnt_udp.c,v 1.23 2005/08/08 08:05:35 espie Exp $ */
+/* $OpenBSD: clnt_udp.c,v 1.24 2006/03/31 18:28:55 deraadt Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@@ -384,6 +384,7 @@ clntudp_freeres(CLIENT *cl, xdrproc_t xdr_res, caddr_t res_ptr)
return ((*xdr_res)(xdrs, res_ptr));
}
+/*ARGSUSED*/
static void
clntudp_abort(CLIENT *clnt)
{
diff --git a/lib/libc/rpc/xdr_mem.c b/lib/libc/rpc/xdr_mem.c
index 14eeacc5b05..adcd3ee410f 100644
--- a/lib/libc/rpc/xdr_mem.c
+++ b/lib/libc/rpc/xdr_mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xdr_mem.c,v 1.12 2005/08/08 08:05:36 espie Exp $ */
+/* $OpenBSD: xdr_mem.c,v 1.13 2006/03/31 18:28:55 deraadt Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@@ -94,6 +94,7 @@ xdrmem_create(XDR *xdrs, caddr_t addr, u_int size, enum xdr_op op)
xdrs->x_handy = size;
}
+/*ARGSUSED*/
static void
xdrmem_destroy(XDR *xdrs)
{