diff options
author | Sami Kerola | 2017-02-12 01:19:33 +0100 |
---|---|---|
committer | Karel Zak | 2017-02-20 12:58:49 +0100 |
commit | 2ba641e5f3879593e36fa84872289872a4060d03 (patch) | |
tree | 4381e82a91b01343555d803c8afe772e1d15826d /sys-utils/renice.c | |
parent | misc: do not use plain 0 as NULL [smatch scan] (diff) | |
download | kernel-qcow2-util-linux-2ba641e5f3879593e36fa84872289872a4060d03.tar.gz kernel-qcow2-util-linux-2ba641e5f3879593e36fa84872289872a4060d03.tar.xz kernel-qcow2-util-linux-2ba641e5f3879593e36fa84872289872a4060d03.zip |
misc: add static keyword to where needed [smatch scan]
text-utils/rev.c:68:9: warning: symbol 'buf' was not declared. Should it be
static?
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/renice.c')
-rw-r--r-- | sys-utils/renice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/renice.c b/sys-utils/renice.c index 656a111da..bc6e3c849 100644 --- a/sys-utils/renice.c +++ b/sys-utils/renice.c @@ -48,7 +48,7 @@ #include "c.h" #include "closestream.h" -const char *idtype[] = { +static const char *idtype[] = { [PRIO_PROCESS] = N_("process ID"), [PRIO_PGRP] = N_("process group ID"), [PRIO_USER] = N_("user ID"), |