From: Ashley Smith Date: Fri, 14 Mar 2014 23:10:22 +0000 (-0400) Subject: staging: lustre: Remove extern keyword from function prototypes X-Git-Tag: v4.14-rc1~7811^2~368 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c0b37b7002cc16668f56e61257b05430c3bccdff;p=platform%2Fkernel%2Flinux-rpi.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 74dda57..49ba62a 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__ */