summaryrefslogtreecommitdiff
path: root/usr.sbin/amd/config
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/amd/config')
-rw-r--r--usr.sbin/amd/config/mount_aix.c6
-rw-r--r--usr.sbin/amd/config/mtab_file.c4
-rw-r--r--usr.sbin/amd/config/os-bsd44.h7
3 files changed, 6 insertions, 11 deletions
diff --git a/usr.sbin/amd/config/mount_aix.c b/usr.sbin/amd/config/mount_aix.c
index f6e80944d2c..a8ba4f03196 100644
--- a/usr.sbin/amd/config/mount_aix.c
+++ b/usr.sbin/amd/config/mount_aix.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)mount_aix.c 8.1 (Berkeley) 6/6/93
- * $Id: mount_aix.c,v 1.1 1995/10/18 08:47:14 deraadt Exp $
+ * $Id: mount_aix.c,v 1.2 2002/08/05 07:24:26 pvalchev Exp $
*/
@@ -58,7 +58,7 @@ int info_size;
char *args;
{
struct vmount *vp = (struct vmount *) p;
- bzero((voidp) vp, sizeof(*vp));
+ bzero((void *)vp, sizeof(*vp));
/*
* Fill in standard fields
*/
@@ -131,7 +131,7 @@ char *args;
size = aix3_mkvp(buf, type, flags, rfs, dir, host, data, sizeof(struct nfs_args), args);
if (free_rfs)
- free((voidp) rfs);
+ free((void *)rfs);
free(host);
} break;
diff --git a/usr.sbin/amd/config/mtab_file.c b/usr.sbin/amd/config/mtab_file.c
index 31906aba9fc..066089d5787 100644
--- a/usr.sbin/amd/config/mtab_file.c
+++ b/usr.sbin/amd/config/mtab_file.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)mtab_file.c 8.1 (Berkeley) 6/6/93
- * $Id: mtab_file.c,v 1.2 2002/06/10 21:07:14 itojun Exp $
+ * $Id: mtab_file.c,v 1.3 2002/08/05 07:24:26 pvalchev Exp $
*/
#include "am.h"
@@ -229,7 +229,7 @@ eacces:
tv.tv_sec = 0;
tv.tv_usec = (mypid & 0x07) << 17;
if (tv.tv_usec)
- if (select(0, (voidp) 0, (voidp) 0, (voidp) 0, &tv) < 0)
+ if (select(0, (void *)0, (void *)0, (void *)0, &tv) < 0)
plog(XLOG_WARNING, "mtab nap failed: %m");
goto again;
diff --git a/usr.sbin/amd/config/os-bsd44.h b/usr.sbin/amd/config/os-bsd44.h
index 0a6e8a8da20..d535db73e6c 100644
--- a/usr.sbin/amd/config/os-bsd44.h
+++ b/usr.sbin/amd/config/os-bsd44.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: os-bsd44.h,v 1.6 1996/11/29 22:59:42 imp Exp $ */
+/* $OpenBSD: os-bsd44.h,v 1.7 2002/08/05 07:24:26 pvalchev Exp $ */
/*
* Copyright (c) 1990 Jan-Simon Pendry
@@ -43,11 +43,6 @@
*/
/*
- * Does the compiler grok void *
- */
-#define VOIDP
-
-/*
* Which version of the Sun RPC library we are using
* This is the implementation release number, not
* the protocol revision number.