diff options
author | Jim Meyering <jim@meyering.net> | 1995-11-09 17:02:23 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-11-09 17:02:23 +0000 |
commit | c0d94c89eca0f838ee5683726780110c2abcc14e (patch) | |
tree | 2c8dd672bd25296ff294a3d46fc91227d026c9cc /src/rmdir.c | |
parent | dd3a08897371348fbcac1a951250273e28c4e26c (diff) | |
download | coreutils-c0d94c89eca0f838ee5683726780110c2abcc14e.tar.xz |
Protoize.
Diffstat (limited to 'src/rmdir.c')
-rw-r--r-- | src/rmdir.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/rmdir.c b/src/rmdir.c index 21562a4cd..da4331365 100644 --- a/src/rmdir.c +++ b/src/rmdir.c @@ -33,8 +33,8 @@ void strip_trailing_slashes (); -static void remove_parents (); -static void usage (); +static void remove_parents (char *path); +static void usage (int status); /* The name this program was run with. */ char *program_name; @@ -58,9 +58,7 @@ static struct option const longopts[] = }; void -main (argc, argv) - int argc; - char **argv; +main (int argc, char **argv) { int errors = 0; int optc; @@ -118,8 +116,7 @@ main (argc, argv) Replaces '/' characters in `path' with NULs. */ static void -remove_parents (path) - char *path; +remove_parents (char *path) { char *slash; @@ -138,8 +135,7 @@ remove_parents (path) } static void -usage (status) - int status; +usage (int status) { if (status != 0) fprintf (stderr, "Try `%s --help' for more information.\n", |