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 /libblkid/src/superblocks | |
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 'libblkid/src/superblocks')
-rw-r--r-- | libblkid/src/superblocks/drbdmanage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libblkid/src/superblocks/drbdmanage.c b/libblkid/src/superblocks/drbdmanage.c index e84efa343..48bf1dabf 100644 --- a/libblkid/src/superblocks/drbdmanage.c +++ b/libblkid/src/superblocks/drbdmanage.c @@ -35,7 +35,7 @@ struct drbdmanage_pers { } __attribute__ ((packed)); -const char persistence_magic[4] = "\x1a\xdb\x98\xa2"; +static const char persistence_magic[4] = "\x1a\xdb\x98\xa2"; static int probe_drbdmanage(blkid_probe pr, |