logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: 30e12b9d37e6571de2a3004d4e429d4f9a39d450
parent 2255c43da734bc297f5606289616d31798cb32be
Author: Michael Forney <mforney@mforney.org>
Date:   Tue, 17 Dec 2019 00:21:53 -0800

Use prototype declarations

Diffstat:

Msrc/applyperms.c2+-
Msrc/shutdown.c2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 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 @@ -12,7 +12,7 @@ #include <unistd.h> static noreturn void -usage() +usage(void) { fprintf(stderr, "usage: shutdown [-hpr]\n"); exit(2);