Skip to content

Commit 99c712d

Browse files
andy-shevYuryNorov
authored andcommitted
bitmap-str: Get rid of 'extern' for function prototypes
The bitmap-str.h uses mixed style for function prototypes. Drop the 'extern' as it easier to read and makes style aligned with a new code in the kernel. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Yury Norov <yury.norov@gmail.com>
1 parent 243c90e commit 99c712d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/linux/bitmap-str.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
int bitmap_parse_user(const char __user *ubuf, unsigned int ulen, unsigned long *dst, int nbits);
66
int bitmap_print_to_pagebuf(bool list, char *buf, const unsigned long *maskp, int nmaskbits);
7-
extern int bitmap_print_bitmask_to_buf(char *buf, const unsigned long *maskp,
8-
int nmaskbits, loff_t off, size_t count);
9-
extern int bitmap_print_list_to_buf(char *buf, const unsigned long *maskp,
10-
int nmaskbits, loff_t off, size_t count);
7+
int bitmap_print_bitmask_to_buf(char *buf, const unsigned long *maskp, int nmaskbits,
8+
loff_t off, size_t count);
9+
int bitmap_print_list_to_buf(char *buf, const unsigned long *maskp, int nmaskbits,
10+
loff_t off, size_t count);
1111
int bitmap_parse(const char *buf, unsigned int buflen, unsigned long *dst, int nbits);
1212
int bitmap_parselist(const char *buf, unsigned long *maskp, int nmaskbits);
1313
int bitmap_parselist_user(const char __user *ubuf, unsigned int ulen,

0 commit comments

Comments
 (0)