summaryrefslogtreecommitdiffstats
path: root/libblkid/src/probe.c
diff options
context:
space:
mode:
authorSami Kerola2017-02-12 19:48:21 +0100
committerKarel Zak2017-02-20 13:00:58 +0100
commitc5e3ebcedcc810d74faea7f2f70aa06ca47379b6 (patch)
treeaaaa1c0119d4eaea0d76a320a34cc53ce9ddf4fe /libblkid/src/probe.c
parentlib/idcache: add void to function declaration [smatch scan] (diff)
downloadkernel-qcow2-util-linux-c5e3ebcedcc810d74faea7f2f70aa06ca47379b6.tar.gz
kernel-qcow2-util-linux-c5e3ebcedcc810d74faea7f2f70aa06ca47379b6.tar.xz
kernel-qcow2-util-linux-c5e3ebcedcc810d74faea7f2f70aa06ca47379b6.zip
libblkid: declare across file variables in blkidP.h [smatch scan]
Else these variables will cause following warning: libblkid/src/superblocks/superblocks.c:165:29: warning: symbol 'superblocks_drv' was not declared. Should it be static? Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'libblkid/src/probe.c')
-rw-r--r--libblkid/src/probe.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libblkid/src/probe.c b/libblkid/src/probe.c
index df90a82e0..ab05fb2d3 100644
--- a/libblkid/src/probe.c
+++ b/libblkid/src/probe.c
@@ -115,11 +115,6 @@
#include "strutils.h"
#include "list.h"
-/* chains */
-extern const struct blkid_chaindrv superblocks_drv;
-extern const struct blkid_chaindrv topology_drv;
-extern const struct blkid_chaindrv partitions_drv;
-
/*
* All supported chains
*/