aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-07-31 22:51:49 +0000
committerEric Andersen <andersen@codepoet.org>2001-07-31 22:51:49 +0000
commitf672c9e62f8a7c50e700a6471facca5852004e42 (patch)
tree222f793d2b350ada9cf9b6dcadf4a84f55863038
parentbb9579ffc3fd9d188bf6aaf592e78305c12c2944 (diff)
downloadbusybox-w32-f672c9e62f8a7c50e700a6471facca5852004e42.tar.gz
busybox-w32-f672c9e62f8a7c50e700a6471facca5852004e42.tar.bz2
busybox-w32-f672c9e62f8a7c50e700a6471facca5852004e42.zip
Silence a silly warning
-rw-r--r--insmod.c6
-rw-r--r--modutils/insmod.c6
2 files changed, 8 insertions, 4 deletions
diff --git a/insmod.c b/insmod.c
index 6e1ffad36..1a63ecb2a 100644
--- a/insmod.c
+++ b/insmod.c
@@ -133,7 +133,7 @@
133#ifndef MODUTILS_MODULE_H 133#ifndef MODUTILS_MODULE_H
134static const int MODUTILS_MODULE_H = 1; 134static const int MODUTILS_MODULE_H = 1;
135 135
136#ident "$Id: insmod.c,v 1.69 2001/07/25 16:58:58 andersen Exp $" 136#ident "$Id: insmod.c,v 1.70 2001/07/31 22:51:49 andersen Exp $"
137 137
138/* This file contains the structures used by the 2.0 and 2.1 kernels. 138/* 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 139 We do not use the kernel headers directly because we do not wish
@@ -350,7 +350,7 @@ int delete_module(const char *);
350#ifndef MODUTILS_OBJ_H 350#ifndef MODUTILS_OBJ_H
351static const int MODUTILS_OBJ_H = 1; 351static const int MODUTILS_OBJ_H = 1;
352 352
353#ident "$Id: insmod.c,v 1.69 2001/07/25 16:58:58 andersen Exp $" 353#ident "$Id: insmod.c,v 1.70 2001/07/31 22:51:49 andersen Exp $"
354 354
355/* The relocatable object is manipulated using elfin types. */ 355/* The relocatable object is manipulated using elfin types. */
356 356
@@ -550,9 +550,11 @@ static struct obj_symbol *obj_find_symbol (struct obj_file *f,
550static ElfW(Addr) obj_symbol_final_value(struct obj_file *f, 550static ElfW(Addr) obj_symbol_final_value(struct obj_file *f,
551 struct obj_symbol *sym); 551 struct obj_symbol *sym);
552 552
553#ifdef BB_FEATURE_INSMOD_VERSION_CHECKING
553static void obj_set_symbol_compare(struct obj_file *f, 554static void obj_set_symbol_compare(struct obj_file *f,
554 int (*cmp)(const char *, const char *), 555 int (*cmp)(const char *, const char *),
555 unsigned long (*hash)(const char *)); 556 unsigned long (*hash)(const char *));
557#endif
556 558
557static struct obj_section *obj_find_section (struct obj_file *f, 559static struct obj_section *obj_find_section (struct obj_file *f,
558 const char *name); 560 const char *name);
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 6e1ffad36..1a63ecb2a 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -133,7 +133,7 @@
133#ifndef MODUTILS_MODULE_H 133#ifndef MODUTILS_MODULE_H
134static const int MODUTILS_MODULE_H = 1; 134static const int MODUTILS_MODULE_H = 1;
135 135
136#ident "$Id: insmod.c,v 1.69 2001/07/25 16:58:58 andersen Exp $" 136#ident "$Id: insmod.c,v 1.70 2001/07/31 22:51:49 andersen Exp $"
137 137
138/* This file contains the structures used by the 2.0 and 2.1 kernels. 138/* 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 139 We do not use the kernel headers directly because we do not wish
@@ -350,7 +350,7 @@ int delete_module(const char *);
350#ifndef MODUTILS_OBJ_H 350#ifndef MODUTILS_OBJ_H
351static const int MODUTILS_OBJ_H = 1; 351static const int MODUTILS_OBJ_H = 1;
352 352
353#ident "$Id: insmod.c,v 1.69 2001/07/25 16:58:58 andersen Exp $" 353#ident "$Id: insmod.c,v 1.70 2001/07/31 22:51:49 andersen Exp $"
354 354
355/* The relocatable object is manipulated using elfin types. */ 355/* The relocatable object is manipulated using elfin types. */
356 356
@@ -550,9 +550,11 @@ static struct obj_symbol *obj_find_symbol (struct obj_file *f,
550static ElfW(Addr) obj_symbol_final_value(struct obj_file *f, 550static ElfW(Addr) obj_symbol_final_value(struct obj_file *f,
551 struct obj_symbol *sym); 551 struct obj_symbol *sym);
552 552
553#ifdef BB_FEATURE_INSMOD_VERSION_CHECKING
553static void obj_set_symbol_compare(struct obj_file *f, 554static void obj_set_symbol_compare(struct obj_file *f,
554 int (*cmp)(const char *, const char *), 555 int (*cmp)(const char *, const char *),
555 unsigned long (*hash)(const char *)); 556 unsigned long (*hash)(const char *));
557#endif
556 558
557static struct obj_section *obj_find_section (struct obj_file *f, 559static struct obj_section *obj_find_section (struct obj_file *f,
558 const char *name); 560 const char *name);