summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/amd/amd/host_ops.c4
-rw-r--r--usr.sbin/amd/amq/amq.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/amd/amd/host_ops.c b/usr.sbin/amd/amd/host_ops.c
index e9dae9e8014..5a90df5e804 100644
--- a/usr.sbin/amd/amd/host_ops.c
+++ b/usr.sbin/amd/amd/host_ops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: host_ops.c,v 1.8 2002/08/03 08:29:31 pvalchev Exp $ */
+/* $OpenBSD: host_ops.c,v 1.9 2002/08/03 21:49:24 deraadt Exp $ */
/*
* Copyright (c) 1990 Jan-Simon Pendry
@@ -120,7 +120,7 @@ host_init(mntfs *mf)
#ifndef HOST_EXEC
static bool_t
-xdr_pri_free(xdrproc_t xdr_args, caddr_t args_ptr)
+xdr_pri_free(xdrproc_t xdr_args, void *args_ptr)
{
XDR xdr;
diff --git a/usr.sbin/amd/amq/amq.c b/usr.sbin/amd/amq/amq.c
index c4cb3041ece..7b973e2185e 100644
--- a/usr.sbin/amd/amq/amq.c
+++ b/usr.sbin/amd/amq/amq.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)amq.c 8.1 (Berkeley) 6/7/93
- * $Id: amq.c,v 1.6 2002/08/03 08:29:32 pvalchev Exp $
+ * $Id: amq.c,v 1.7 2002/08/03 21:49:24 deraadt Exp $
*/
/*
@@ -52,7 +52,7 @@ char copyright[] = "\
#endif /* not lint */
#ifndef lint
-static char rcsid[] = "$Id: amq.c,v 1.6 2002/08/03 08:29:32 pvalchev Exp $";
+static char rcsid[] = "$Id: amq.c,v 1.7 2002/08/03 21:49:24 deraadt Exp $";
static char sccsid[] = "@(#)amq.c 8.1 (Berkeley) 6/7/93";
#endif /* not lint */
@@ -234,7 +234,7 @@ deferred fhandles ok failed failed\n\
}
static bool_t
-xdr_pri_free(xdrproc_t xdr_args, caddr_t args_ptr)
+xdr_pri_free(xdrproc_t xdr_args, void *args_ptr)
{
XDR xdr;
xdr.x_op = XDR_FREE;
@@ -537,7 +537,7 @@ Usage: %s [-h host] [[-f] [-m] [-v] [-s]] | [[-u] directory ...]] |\n\
} else {
fprintf(stderr, "%s: %s not automounted\n", __progname, fs);
}
- xdr_pri_free(xdr_amq_mount_tree_p, (caddr_t) mtp);
+ xdr_pri_free(xdr_amq_mount_tree_p, mtp);
} else {
fprintf(stderr, "%s: ", __progname);
clnt_perror(clnt, server);