diff options
author | Peter Valchev <pvalchev@cvs.openbsd.org> | 2002-08-05 07:24:27 +0000 |
---|---|---|
committer | Peter Valchev <pvalchev@cvs.openbsd.org> | 2002-08-05 07:24:27 +0000 |
commit | ae980d3105e2c0aeae812a8fa319124c4d0e1e0d (patch) | |
tree | b5adbec587b6ad4e48f8e311fbb9d9f1d091aebb /usr.sbin/amd/config/mount_aix.c | |
parent | 6bcada130c3d1e61ca223494309ab95dae23b19a (diff) |
Get rid of useless local definitions P_void, voidp, Const and use
void, void *, const respectively; some cosmetics; ok deraadt
Diffstat (limited to 'usr.sbin/amd/config/mount_aix.c')
-rw-r--r-- | usr.sbin/amd/config/mount_aix.c | 6 |
1 files changed, 3 insertions, 3 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; |