Introduction
Introduction Statistics Contact Development Disclaimer Help
Keep usage() above main - noice - small file browser (mirror / fork from 2f30.o…
git clone git://git.codemadness.org/noice
Log
Files
Refs
README
LICENSE
---
commit 16f473f55cd1510d6a641f860197a8c79ea57f23
parent 05b99639cceb8d40d8d81c6d42993c273a5040cf
Author: sin <[email protected]>
Date: Sun, 31 Mar 2019 12:47:09 +0100
Keep usage() above main
Diffstat:
M noice.c | 14 +++++++-------
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[])
{
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.