Skip to content

Commit

Permalink
fs: Mark function as static in exofs/super.c
Browse files Browse the repository at this point in the history
Mark function as static in exofs/super.c because it is not used outside
this file.

This also eliminates the following warning in exofs/super.c:
 fs/exofs/super.c:546:5: warning: no previous prototype \
 for __alloc_dev_table[-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <[email protected]>
Reviewed-by: Josh Triplett <[email protected]>
Signed-off-by: Boaz Harrosh <[email protected]>
  • Loading branch information
rashika authored and Boaz Harrosh committed Apr 3, 2014
1 parent b098d67 commit af8d0cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/exofs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ static int exofs_devs_2_odi(struct exofs_dt_device_info *dt_dev,
return !(odi->systemid_len || odi->osdname_len);
}

int __alloc_dev_table(struct exofs_sb_info *sbi, unsigned numdevs,
static int __alloc_dev_table(struct exofs_sb_info *sbi, unsigned numdevs,
struct exofs_dev **peds)
{
struct __alloc_ore_devs_and_exofs_devs {
Expand Down

0 comments on commit af8d0cc

Please sign in to comment.