From: Ashley Smith Date: Fri, 14 Mar 2014 23:10:22 +0000 (-0400) Subject: staging: lustre: Remove extern keyword from function prototypes X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c0b37b7002cc16668f56e61257b05430c3bccdff;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: lustre: Remove extern keyword from function prototypes A function prototype is always a declaration and thus has "extern" prepended by default. Signed-off-by: Ashley Smith Acked-by: Paul E. McKenney Signed-off-by: Peter P Waskiewicz Jr --- diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_ioctl.h b/drivers/staging/lustre/include/linux/libcfs/libcfs_ioctl.h index 74dda57b98a8..49ba62a4daa8 100644 --- a/drivers/staging/lustre/include/linux/libcfs/libcfs_ioctl.h +++ b/drivers/staging/lustre/include/linux/libcfs/libcfs_ioctl.h @@ -211,10 +211,10 @@ static inline int libcfs_ioctl_is_invalid(struct libcfs_ioctl_data *data) } -extern int libcfs_register_ioctl(struct libcfs_ioctl_handler *hand); -extern int libcfs_deregister_ioctl(struct libcfs_ioctl_handler *hand); -extern int libcfs_ioctl_getdata(char *buf, char *end, void *arg); -extern int libcfs_ioctl_popdata(void *arg, void *buf, int size); +int libcfs_register_ioctl(struct libcfs_ioctl_handler *hand); +int libcfs_deregister_ioctl(struct libcfs_ioctl_handler *hand); +int libcfs_ioctl_getdata(char *buf, char *end, void *arg); +int libcfs_ioctl_popdata(void *arg, void *buf, int size); #endif /* __LIBCFS_IOCTL_H__ */