diff options
Diffstat (limited to 'e2fsprogs/blkid/dev.c')
-rw-r--r-- | e2fsprogs/blkid/dev.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/e2fsprogs/blkid/dev.c b/e2fsprogs/blkid/dev.c index d2e468304..04cf8b5fa 100644 --- a/e2fsprogs/blkid/dev.c +++ b/e2fsprogs/blkid/dev.c @@ -52,7 +52,7 @@ void blkid_free_dev(blkid_dev dev) /* * Given a blkid device, return its name */ -extern const char *blkid_dev_devname(blkid_dev dev) +const char *blkid_dev_devname(blkid_dev dev) { return dev->bid_name; } @@ -80,7 +80,7 @@ struct blkid_struct_dev_iterate { struct list_head *p; }; -extern blkid_dev_iterate blkid_dev_iterate_begin(blkid_cache cache) +blkid_dev_iterate blkid_dev_iterate_begin(blkid_cache cache) { blkid_dev_iterate iter; @@ -106,7 +106,7 @@ extern int blkid_dev_next(blkid_dev_iterate iter, return 0; } -extern void blkid_dev_iterate_end(blkid_dev_iterate iter) +void blkid_dev_iterate_end(blkid_dev_iterate iter) { if (!iter || iter->magic != DEV_ITERATE_MAGIC) return; |