]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libblkid: cleanup blkid_strconcat
authorKarel Zak <kzak@redhat.com>
Fri, 30 Nov 2012 10:10:22 +0000 (11:10 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 30 Nov 2012 10:10:22 +0000 (11:10 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid/src/blkidP.h
libblkid/src/devno.c

index 774193cbc84cd9c037a22271de1e140ecb2da536..b18528d47ff2f6c078c9b2d542c825b13639d653 100644 (file)
@@ -286,9 +286,6 @@ struct blkid_struct_cache
 #define BLKID_BIC_FL_PROBED    0x0002  /* We probed /proc/partition devices */
 #define BLKID_BIC_FL_CHANGED   0x0004  /* Cache has changed from disk */
 
-extern char *blkid_strconcat(const char *a, const char *b, const char *c)
-                       __attribute__((warn_unused_result));
-
 /* config file */
 #define BLKID_CONFIG_FILE      "/etc/blkid.conf"
 
index 08ec7afd6b66394f969d47b767390ff0e86fefb2..e7b254cfad3ae48e019d38b17cd45873b67fafb7 100644 (file)
@@ -37,7 +37,7 @@
 #include "at.h"
 #include "sysfs.h"
 
-char *blkid_strconcat(const char *a, const char *b, const char *c)
+static char *blkid_strconcat(const char *a, const char *b, const char *c)
 {
        char *res, *p;
        size_t len, al, bl, cl;