From dfba741457cc81eb2ed3a9d4c074fbad74aa3249 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 6 Mar 2006 20:47:33 +0000 Subject: Robert P. Day removed 8 gazillion occurrences of "extern" on function definitions. (That should only be on prototypes.) --- e2fsprogs/blkid/dev.c | 6 +++--- e2fsprogs/blkid/tag.c | 4 ++-- e2fsprogs/e2fsck.c | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'e2fsprogs') diff --git a/e2fsprogs/blkid/dev.c b/e2fsprogs/blkid/dev.c index d2e4683..04cf8b5 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; diff --git a/e2fsprogs/blkid/tag.c b/e2fsprogs/blkid/tag.c index 95112eb..51615d4 100644 --- a/e2fsprogs/blkid/tag.c +++ b/e2fsprogs/blkid/tag.c @@ -236,7 +236,7 @@ struct blkid_struct_tag_iterate { struct list_head *p; }; -extern blkid_tag_iterate blkid_tag_iterate_begin(blkid_dev dev) +blkid_tag_iterate blkid_tag_iterate_begin(blkid_dev dev) { blkid_tag_iterate iter; @@ -267,7 +267,7 @@ extern int blkid_tag_next(blkid_tag_iterate iter, return 0; } -extern void blkid_tag_iterate_end(blkid_tag_iterate iter) +void blkid_tag_iterate_end(blkid_tag_iterate iter) { if (!iter || iter->magic != TAG_ITERATE_MAGIC) return; diff --git a/e2fsprogs/e2fsck.c b/e2fsprogs/e2fsck.c index 489d2a8..18dfd00 100644 --- a/e2fsprogs/e2fsck.c +++ b/e2fsprogs/e2fsck.c @@ -14897,7 +14897,7 @@ static float calc_percent(const struct percent_tbl *tbl, int pass, int curr, + tbl->table[pass-1]); } -extern void e2fsck_clear_progbar(e2fsck_t ctx) +void e2fsck_clear_progbar(e2fsck_t ctx) { if (!(ctx->flags & E2F_FLAG_PROG_BAR)) return; -- cgit v1.1