diff options
author | imp <imp@FreeBSD.org> | 2002-03-21 13:10:52 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-03-21 13:10:52 +0000 |
commit | 611240d8bc587f7f5915144254d2e6b3bd93d782 (patch) | |
tree | 3e13d718c267505bb9b3d399078f639dcce5db19 /sbin/fsirand/fsirand.c | |
parent | 6932067f77abdb8f67f1d4d9a2bb43eed71767c2 (diff) | |
download | FreeBSD-src-611240d8bc587f7f5915144254d2e6b3bd93d782.zip FreeBSD-src-611240d8bc587f7f5915144254d2e6b3bd93d782.tar.gz |
o __P removal.
o ansi function definitions.
o main prototype removal
o unifdef __STDC__
Diffstat (limited to 'sbin/fsirand/fsirand.c')
-rw-r--r-- | sbin/fsirand/fsirand.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/sbin/fsirand/fsirand.c b/sbin/fsirand/fsirand.c index 96a5484..e908f2a 100644 --- a/sbin/fsirand/fsirand.c +++ b/sbin/fsirand/fsirand.c @@ -51,15 +51,13 @@ static const char rcsid[] = #include <string.h> #include <unistd.h> -static void usage __P((void)); -int fsirand __P((char *)); +static void usage(void) __dead2; +int fsirand(char *); int printonly = 0, force = 0, ignorelabel = 0; int -main(argc, argv) - int argc; - char *argv[]; +main(int argc, char *argv[]) { int n, ex = 0; struct rlimit rl; @@ -104,8 +102,7 @@ main(argc, argv) } int -fsirand(device) - char *device; +fsirand(char *device) { static struct dinode *inodebuf; static size_t oldibufsize; @@ -282,7 +279,7 @@ fsirand(device) } static void -usage() +usage(void) { (void)fprintf(stderr, "usage: fsirand [-b] [-f] [-p] special [special ...]\n"); |