diff options
author | H Hartley Sweeten | 2011-10-18 10:57:51 -0400 |
---|---|---|
committer | Theodore Ts'o | 2011-10-18 10:57:51 -0400 |
commit | e0cbee3e14195ef07b8ab6ff30930fb93d2e510a (patch) | |
tree | c1bdcede0da0bbc1f06b3335d5c35ebc8011e72b /fs/ext4/fsync.c | |
parent | 1bce63d1a2a2c8929442b79acd4eab2e3db10a0b (diff) |
ext4: functions should not be declared extern
The function declarations in ext4.h are already marked extern, so it's
not necessary to do so in the .c files.
This quiets the sparse noise:
warning: function 'ext4_flush_completed_IO' with external linkage has definition
warning: function 'ext4_init_inode_table' with external linkage has definition
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/fsync.c')
-rw-r--r-- | fs/ext4/fsync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/fsync.c b/fs/ext4/fsync.c index 036f78f7a1ef..c942924a0645 100644 --- a/fs/ext4/fsync.c +++ b/fs/ext4/fsync.c @@ -75,7 +75,7 @@ static void dump_completed_IO(struct inode * inode) * to written. * The function return the number of pending IOs on success. */ -extern int ext4_flush_completed_IO(struct inode *inode) +int ext4_flush_completed_IO(struct inode *inode) { ext4_io_end_t *io; struct ext4_inode_info *ei = EXT4_I(inode); |