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:
parent
9e3c259fae
commit
c8554e6c0f
4
skill.c
4
skill.c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user