summaryrefslogtreecommitdiff
path: root/sbin/mount_lfs
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_lfs
parent5dd7b59250a41ff74475db0fc6290dc6b029d96d (diff)
ansification
Diffstat (limited to 'sbin/mount_lfs')
-rw-r--r--sbin/mount_lfs/mount_lfs.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/sbin/mount_lfs/mount_lfs.c b/sbin/mount_lfs/mount_lfs.c
index f1c61c67d8e..61941de59c1 100644
--- a/sbin/mount_lfs/mount_lfs.c
+++ b/sbin/mount_lfs/mount_lfs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount_lfs.c,v 1.9 2003/06/02 20:06:15 millert Exp $ */
+/* $OpenBSD: mount_lfs.c,v 1.10 2003/06/11 06:22:13 deraadt Exp $ */
/* $NetBSD: mount_lfs.c,v 1.4 1996/04/13 05:35:44 cgd Exp $ */
/*-
@@ -40,7 +40,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)mount_lfs.c 8.3 (Berkeley) 3/27/94";
#else
-static char rcsid[] = "$OpenBSD: mount_lfs.c,v 1.9 2003/06/02 20:06:15 millert Exp $";
+static char rcsid[] = "$OpenBSD: mount_lfs.c,v 1.10 2003/06/11 06:22:13 deraadt Exp $";
#endif
#endif /* not lint */
@@ -70,9 +70,7 @@ void invoke_cleaner(char *);
int short_rds, cleaner_debug;
int
-main(argc, argv)
- int argc;
- char *argv[];
+main(int argc, char *argv[])
{
struct ufs_args args;
int ch, mntflags, noclean;
@@ -142,8 +140,7 @@ main(argc, argv)
}
void
-invoke_cleaner(name)
- char *name;
+invoke_cleaner(char *name)
{
char *args[6], **ap = args;
@@ -161,7 +158,7 @@ invoke_cleaner(name)
}
void
-usage()
+usage(void)
{
(void)fprintf(stderr,
"usage: mount_lfs [-dns] [-o options] special node\n");