diff options
-rw-r--r-- | insmod.c | 5 | ||||
-rw-r--r-- | modutils/insmod.c | 5 |
2 files changed, 6 insertions, 4 deletions
@@ -67,6 +67,7 @@ | |||
67 | #include "busybox.h" | 67 | #include "busybox.h" |
68 | 68 | ||
69 | #ifdef BB_FEATURE_NEW_MODULE_INTERFACE | 69 | #ifdef BB_FEATURE_NEW_MODULE_INTERFACE |
70 | # undef BB_FEATURE_OLD_MODULE_INTERFACE | ||
70 | # define new_sys_init_module init_module | 71 | # define new_sys_init_module init_module |
71 | #else | 72 | #else |
72 | # define old_sys_init_module init_module | 73 | # define old_sys_init_module init_module |
@@ -133,7 +134,7 @@ | |||
133 | #ifndef MODUTILS_MODULE_H | 134 | #ifndef MODUTILS_MODULE_H |
134 | static const int MODUTILS_MODULE_H = 1; | 135 | static const int MODUTILS_MODULE_H = 1; |
135 | 136 | ||
136 | #ident "$Id: insmod.c,v 1.72 2001/08/22 05:26:08 andersen Exp $" | 137 | #ident "$Id: insmod.c,v 1.73 2001/08/22 05:41:57 andersen Exp $" |
137 | 138 | ||
138 | /* This file contains the structures used by the 2.0 and 2.1 kernels. | 139 | /* This file contains the structures used by the 2.0 and 2.1 kernels. |
139 | We do not use the kernel headers directly because we do not wish | 140 | We do not use the kernel headers directly because we do not wish |
@@ -350,7 +351,7 @@ int delete_module(const char *); | |||
350 | #ifndef MODUTILS_OBJ_H | 351 | #ifndef MODUTILS_OBJ_H |
351 | static const int MODUTILS_OBJ_H = 1; | 352 | static const int MODUTILS_OBJ_H = 1; |
352 | 353 | ||
353 | #ident "$Id: insmod.c,v 1.72 2001/08/22 05:26:08 andersen Exp $" | 354 | #ident "$Id: insmod.c,v 1.73 2001/08/22 05:41:57 andersen Exp $" |
354 | 355 | ||
355 | /* The relocatable object is manipulated using elfin types. */ | 356 | /* The relocatable object is manipulated using elfin types. */ |
356 | 357 | ||
diff --git a/modutils/insmod.c b/modutils/insmod.c index 34be00b32..6b81ca754 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c | |||
@@ -67,6 +67,7 @@ | |||
67 | #include "busybox.h" | 67 | #include "busybox.h" |
68 | 68 | ||
69 | #ifdef BB_FEATURE_NEW_MODULE_INTERFACE | 69 | #ifdef BB_FEATURE_NEW_MODULE_INTERFACE |
70 | # undef BB_FEATURE_OLD_MODULE_INTERFACE | ||
70 | # define new_sys_init_module init_module | 71 | # define new_sys_init_module init_module |
71 | #else | 72 | #else |
72 | # define old_sys_init_module init_module | 73 | # define old_sys_init_module init_module |
@@ -133,7 +134,7 @@ | |||
133 | #ifndef MODUTILS_MODULE_H | 134 | #ifndef MODUTILS_MODULE_H |
134 | static const int MODUTILS_MODULE_H = 1; | 135 | static const int MODUTILS_MODULE_H = 1; |
135 | 136 | ||
136 | #ident "$Id: insmod.c,v 1.72 2001/08/22 05:26:08 andersen Exp $" | 137 | #ident "$Id: insmod.c,v 1.73 2001/08/22 05:41:57 andersen Exp $" |
137 | 138 | ||
138 | /* This file contains the structures used by the 2.0 and 2.1 kernels. | 139 | /* This file contains the structures used by the 2.0 and 2.1 kernels. |
139 | We do not use the kernel headers directly because we do not wish | 140 | We do not use the kernel headers directly because we do not wish |
@@ -350,7 +351,7 @@ int delete_module(const char *); | |||
350 | #ifndef MODUTILS_OBJ_H | 351 | #ifndef MODUTILS_OBJ_H |
351 | static const int MODUTILS_OBJ_H = 1; | 352 | static const int MODUTILS_OBJ_H = 1; |
352 | 353 | ||
353 | #ident "$Id: insmod.c,v 1.72 2001/08/22 05:26:08 andersen Exp $" | 354 | #ident "$Id: insmod.c,v 1.73 2001/08/22 05:41:57 andersen Exp $" |
354 | 355 | ||
355 | /* The relocatable object is manipulated using elfin types. */ | 356 | /* The relocatable object is manipulated using elfin types. */ |
356 | 357 | ||