aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount_nullfs/mount_nullfs.c
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2009-12-29 22:53:27 +0000
committerEd Schouten <ed@FreeBSD.org>2009-12-29 22:53:27 +0000
commit10bc3a7f42563fa24555dc35c5cdbb1af3241348 (patch)
tree2e35e76a520e919173f604f9ba0f30358443ed4a /sbin/mount_nullfs/mount_nullfs.c
parent7b4f22d5ed8862f4711f8fea577eba7821de04be (diff)
ANSIfy almost all applications that use WARNS=6.
I was considering committing all these patches one by one, but as discussed with brooks@, there is no need to do this. If we ever need/want to merge these changes back, it is still possible to do this per application.
Notes
Notes: svn path=/head/; revision=201227
Diffstat (limited to 'sbin/mount_nullfs/mount_nullfs.c')
-rw-r--r--sbin/mount_nullfs/mount_nullfs.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sbin/mount_nullfs/mount_nullfs.c b/sbin/mount_nullfs/mount_nullfs.c
index a0ad5f681908..abca9fabe068 100644
--- a/sbin/mount_nullfs/mount_nullfs.c
+++ b/sbin/mount_nullfs/mount_nullfs.c
@@ -116,9 +116,7 @@ main(int argc, char *argv[])
}
int
-subdir(p, dir)
- const char *p;
- const char *dir;
+subdir(const char *p, const char *dir)
{
int l;
@@ -133,7 +131,7 @@ subdir(p, dir)
}
static void
-usage()
+usage(void)
{
(void)fprintf(stderr,
"usage: mount_nullfs [-o options] target mount-point\n");