diff options
| author | Michael Forney <mforney@mforney.org> | 2019-12-17 00:21:53 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2019-12-17 00:21:53 -0800 |
| commit | 30e12b9d37e6571de2a3004d4e429d4f9a39d450 (patch) | |
| tree | 47987402a1d31836ec32bf3498021cd7216bd772 /src | |
| parent | 2255c43da734bc297f5606289616d31798cb32be (diff) | |
Use prototype declarations
Diffstat (limited to 'src')
| -rw-r--r-- | src/applyperms.c | 2 | ||||
| -rw-r--r-- | src/shutdown.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/applyperms.c b/src/applyperms.c index f21ee4b9..ac3a5760 100644 --- a/src/applyperms.c +++ b/src/applyperms.c @@ -388,7 +388,7 @@ applyspecial(void) } static void -usage() +usage(void) { fprintf(stderr, "usage: %s [[old] new] | %s -d dir\n", prog, prog); exit(2); diff --git a/src/shutdown.c b/src/shutdown.c index 06ff3e55..87ddc010 100644 --- a/src/shutdown.c +++ b/src/shutdown.c @@ -12,7 +12,7 @@ #include <unistd.h> static noreturn void -usage() +usage(void) { fprintf(stderr, "usage: shutdown [-hpr]\n"); exit(2); |
