summaryrefslogtreecommitdiff
path: root/sbin/mount_null
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-11 06:22:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-11 06:22:16 +0000
commit4e11c004395b80e095e2512274ee143f75b923f2 (patch)
tree7dd90385c7fc68e56457d473631e3db8896270d2 /sbin/mount_null
parent5dd7b59250a41ff74475db0fc6290dc6b029d96d (diff)
ansification
Diffstat (limited to 'sbin/mount_null')
-rw-r--r--sbin/mount_null/mount_null.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/sbin/mount_null/mount_null.c b/sbin/mount_null/mount_null.c
index 3e3ef7b3d59..31767a90e74 100644
--- a/sbin/mount_null/mount_null.c
+++ b/sbin/mount_null/mount_null.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount_null.c,v 1.9 2003/06/02 20:06:15 millert Exp $ */
+/* $OpenBSD: mount_null.c,v 1.10 2003/06/11 06:22:14 deraadt Exp $ */
/* $NetBSD: mount_null.c,v 1.3 1996/04/13 01:31:49 jtc Exp $ */
/*
@@ -43,7 +43,7 @@ char copyright[] =
#if 0
static char sccsid[] = "@(#)mount_null.c 8.5 (Berkeley) 3/27/94";
#else
-static char rcsid[] = "$OpenBSD: mount_null.c,v 1.9 2003/06/02 20:06:15 millert Exp $";
+static char rcsid[] = "$OpenBSD: mount_null.c,v 1.10 2003/06/11 06:22:14 deraadt Exp $";
#endif
#endif /* not lint */
@@ -69,9 +69,7 @@ int subdir(const char *, const char *);
void usage(void);
int
-main(argc, argv)
- int argc;
- char *argv[];
+main(int argc, char *argv[])
{
struct null_args args;
int ch, mntflags;
@@ -113,9 +111,7 @@ main(argc, argv)
}
int
-subdir(p, dir)
- const char *p;
- const char *dir;
+subdir(const char *p, const char *dir)
{
int l;
@@ -130,7 +126,7 @@ subdir(p, dir)
}
void
-usage()
+usage(void)
{
(void)fprintf(stderr,
"usage: mount_null [-o options] target_fs mount_point\n");