Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Andy Shevchenko and committed by
Yury Norov
99c712d7 243c90e9

+4 -4
+4 -4
include/linux/bitmap-str.h
··· 4 4 5 5 int bitmap_parse_user(const char __user *ubuf, unsigned int ulen, unsigned long *dst, int nbits); 6 6 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); 11 11 int bitmap_parse(const char *buf, unsigned int buflen, unsigned long *dst, int nbits); 12 12 int bitmap_parselist(const char *buf, unsigned long *maskp, int nmaskbits); 13 13 int bitmap_parselist_user(const char __user *ubuf, unsigned int ulen,