diff options
author | Sami Kerola | 2017-02-12 19:48:21 +0100 |
---|---|---|
committer | Karel Zak | 2017-02-20 13:00:58 +0100 |
commit | c5e3ebcedcc810d74faea7f2f70aa06ca47379b6 (patch) | |
tree | aaaa1c0119d4eaea0d76a320a34cc53ce9ddf4fe /libblkid/src/blkidP.h | |
parent | lib/idcache: add void to function declaration [smatch scan] (diff) | |
download | kernel-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/blkidP.h')
-rw-r--r-- | libblkid/src/blkidP.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libblkid/src/blkidP.h b/libblkid/src/blkidP.h index 817c8b02b..de41473a8 100644 --- a/libblkid/src/blkidP.h +++ b/libblkid/src/blkidP.h @@ -116,6 +116,11 @@ struct blkid_chaindrv { void (*free_data)(blkid_probe, void *); }; +/* chains */ +extern const struct blkid_chaindrv superblocks_drv; +extern const struct blkid_chaindrv topology_drv; +extern const struct blkid_chaindrv partitions_drv; + /* * Low-level probe result */ |