patch-2.4.8 linux/include/linux/init.h
Next file: linux/include/linux/interrupt.h
Previous file: linux/include/linux/inetdevice.h
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Fri Aug 10 18:13:47 2001
- Orig file:
v2.4.7/linux/include/linux/init.h
- Orig date:
Tue Aug 7 12:48:42 2001
diff -u --recursive --new-file v2.4.7/linux/include/linux/init.h linux/include/linux/init.h
@@ -132,11 +132,11 @@
typedef void (*__cleanup_module_func_t)(void);
#define module_init(x) \
int init_module(void) __attribute__((alias(#x))); \
- extern inline __init_module_func_t __init_module_inline(void) \
+ static inline __init_module_func_t __init_module_inline(void) \
{ return x; }
#define module_exit(x) \
void cleanup_module(void) __attribute__((alias(#x))); \
- extern inline __cleanup_module_func_t __cleanup_module_inline(void) \
+ static inline __cleanup_module_func_t __cleanup_module_inline(void) \
{ return x; }
#define __setup(str,func) /* nothing */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)