commit 16f473f55cd1510d6a641f860197a8c79ea57f23
parent 05b99639cceb8d40d8d81c6d42993c273a5040cf
Author: sin <sin@2f30.org>
Date: Sun, 31 Mar 2019 12:47:09 +0100
Keep usage() above main
Diffstat:
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/noice.c b/noice.c
@@ -899,13 +899,6 @@ nochange:
}
void
-usage(char *argv0)
-{
- fprintf(stderr, "usage: %s [dir]\n", argv0);
- exit(1);
-}
-
-void
initassocs(void)
{
char errbuf[256];
@@ -923,6 +916,13 @@ initassocs(void)
}
}
+void
+usage(char *argv0)
+{
+ fprintf(stderr, "usage: %s [dir]\n", argv0);
+ exit(1);
+}
+
int
main(int argc, char *argv[])
{