keep usage definition above main

This commit is contained in:
dwts
2014-04-22 15:13:51 +03:00
committed by sin
parent f488547779
commit 575b38391c
4 changed files with 22 additions and 25 deletions

View File

@@ -11,7 +11,12 @@
static int strtop(const char *);
static bool renice(int, int, long);
static void usage(void);
static void
usage(void)
{
eprintf("renice -n inc [-g | -p | -u] ID ...\n");
}
int
main(int argc, char *argv[])
@@ -110,8 +115,3 @@ renice(int which, int who, long adj)
return true;
}
static void
usage(void)
{
eprintf("renice -n inc [-g | -p | -u] ID ...\n");
}