fs: Mark functions as static in exofs/ore_raid.c
authorRashika Kheria <rashika.kheria@gmail.com>
Sun, 9 Feb 2014 13:03:15 +0000 (18:33 +0530)
committerBoaz Harrosh <bharrosh@panasas.com>
Thu, 3 Apr 2014 08:40:55 +0000 (11:40 +0300)
Mark functions as static in exofs/ore_raid.c because they are not used
outside this file.

This also eliminates the following warning in exofs/ore_raid.c:
fs/exofs/ore_raid.c:24:14: warning: no previous prototype for _raid_page_alloc [-Wmissing-prototypes]
fs/exofs/ore_raid.c:29:6: warning: no previous prototype for _raid_page_free [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
fs/exofs/ore_raid.c

index 7682b970d0f1352cd019c8076ea55cc470ecd523..4e2c032ab8a184f31334f3c6e3be915a258ff794 100644 (file)
 #undef ORE_DBGMSG2
 #define ORE_DBGMSG2 ORE_DBGMSG
 
-struct page *_raid_page_alloc(void)
+static struct page *_raid_page_alloc(void)
 {
        return alloc_page(GFP_KERNEL);
 }
 
-void _raid_page_free(struct page *p)
+static void _raid_page_free(struct page *p)
 {
        __free_page(p);
 }