skill: fix compiler warnings

skill.c:340:5: warning: no previous declaration for 'skill_sig_option' [-Wmissing-declarations]
skill.c:460:5: warning: no previous declaration for 'snice_prio_option' [-Wmissing-declarations]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2012-11-02 17:50:54 +00:00 committed by Craig Small
parent 9e3c259fae
commit c8554e6c0f

View File

@ -337,7 +337,7 @@ static void __attribute__ ((__noreturn__)) skillsnice_usage(FILE * out)
exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS);
}
int skill_sig_option(int *argc, char **argv)
static int skill_sig_option(int *argc, char **argv)
{
int i, nargs = *argc;
int signo = -1;
@ -457,7 +457,7 @@ static void _skillsnice_usage(int line)
/* common skill/snice argument parsing code */
int snice_prio_option(int *argc, char **argv)
static int snice_prio_option(int *argc, char **argv)
{
int i = 1, nargs = *argc;
long prio = DEFAULT_NICE;