extern char *blkid_strndup(const char *s, const int length);
#define BLKID_CACHE_FILE "/etc/blkid.tab"
-extern const char *blkid_devdirs[];
#define BLKID_ERR_IO 5
#define BLKID_ERR_PROC 9
}
/* Directories where we will try to search for device numbers */
-const char *blkid_devdirs[] = { "/devices", "/devfs", "/dev", NULL };
+static const char *devdirs[] = { "/devices", "/devfs", "/dev", NULL };
/*
* This function finds the pathname to a block device with a given
* Add the starting directories to search in reverse order of
* importance, since we are using a stack...
*/
- for (dir = blkid_devdirs; *dir; dir++)
+ for (dir = devdirs; *dir; dir++)
add_to_dirlist(*dir, &list);
while (list) {