aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-19 19:28:24 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-19 19:28:24 +0000
commit23c1a18126aba2b2c3b5a818b826ae7f958cf4bd (patch)
treec6de60c84adfa91d4079f1b99ab9a39cd87c3c9b
parent7ef54de6726c3d0c0e7e94fab3a22496db03297e (diff)
downloadbusybox-w32-23c1a18126aba2b2c3b5a818b826ae7f958cf4bd.tar.gz
busybox-w32-23c1a18126aba2b2c3b5a818b826ae7f958cf4bd.tar.bz2
busybox-w32-23c1a18126aba2b2c3b5a818b826ae7f958cf4bd.zip
Per suggestion from Vladimir, no need to initialize these -- let the bss
do it. -Erik
-rw-r--r--insmod.c8
-rw-r--r--modutils/insmod.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/insmod.c b/insmod.c
index 5391c8804..fe4e06a6c 100644
--- a/insmod.c
+++ b/insmod.c
@@ -119,7 +119,7 @@
119#ifndef MODUTILS_MODULE_H 119#ifndef MODUTILS_MODULE_H
120static const int MODUTILS_MODULE_H = 1; 120static const int MODUTILS_MODULE_H = 1;
121 121
122#ident "$Id: insmod.c,v 1.51 2001/03/12 23:08:34 markw Exp $" 122#ident "$Id: insmod.c,v 1.52 2001/03/19 19:28:24 andersen Exp $"
123 123
124/* This file contains the structures used by the 2.0 and 2.1 kernels. 124/* This file contains the structures used by the 2.0 and 2.1 kernels.
125 We do not use the kernel headers directly because we do not wish 125 We do not use the kernel headers directly because we do not wish
@@ -325,7 +325,7 @@ int delete_module(const char *);
325#ifndef MODUTILS_OBJ_H 325#ifndef MODUTILS_OBJ_H
326static const int MODUTILS_OBJ_H = 1; 326static const int MODUTILS_OBJ_H = 1;
327 327
328#ident "$Id: insmod.c,v 1.51 2001/03/12 23:08:34 markw Exp $" 328#ident "$Id: insmod.c,v 1.52 2001/03/19 19:28:24 andersen Exp $"
329 329
330/* The relocatable object is manipulated using elfin types. */ 330/* The relocatable object is manipulated using elfin types. */
331 331
@@ -714,8 +714,8 @@ unsigned long create_module(const char *name, size_t size)
714#else 714#else
715_syscall2(unsigned long, create_module, const char *, name, size_t, size) 715_syscall2(unsigned long, create_module, const char *, name, size_t, size)
716#endif 716#endif
717static char m_filename[BUFSIZ + 1] = "\0"; 717static char m_filename[BUFSIZ + 1];
718static char m_fullName[BUFSIZ + 1] = "\0"; 718static char m_fullName[BUFSIZ + 1];
719 719
720/*======================================================================*/ 720/*======================================================================*/
721 721
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 5391c8804..fe4e06a6c 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -119,7 +119,7 @@
119#ifndef MODUTILS_MODULE_H 119#ifndef MODUTILS_MODULE_H
120static const int MODUTILS_MODULE_H = 1; 120static const int MODUTILS_MODULE_H = 1;
121 121
122#ident "$Id: insmod.c,v 1.51 2001/03/12 23:08:34 markw Exp $" 122#ident "$Id: insmod.c,v 1.52 2001/03/19 19:28:24 andersen Exp $"
123 123
124/* This file contains the structures used by the 2.0 and 2.1 kernels. 124/* This file contains the structures used by the 2.0 and 2.1 kernels.
125 We do not use the kernel headers directly because we do not wish 125 We do not use the kernel headers directly because we do not wish
@@ -325,7 +325,7 @@ int delete_module(const char *);
325#ifndef MODUTILS_OBJ_H 325#ifndef MODUTILS_OBJ_H
326static const int MODUTILS_OBJ_H = 1; 326static const int MODUTILS_OBJ_H = 1;
327 327
328#ident "$Id: insmod.c,v 1.51 2001/03/12 23:08:34 markw Exp $" 328#ident "$Id: insmod.c,v 1.52 2001/03/19 19:28:24 andersen Exp $"
329 329
330/* The relocatable object is manipulated using elfin types. */ 330/* The relocatable object is manipulated using elfin types. */
331 331
@@ -714,8 +714,8 @@ unsigned long create_module(const char *name, size_t size)
714#else 714#else
715_syscall2(unsigned long, create_module, const char *, name, size_t, size) 715_syscall2(unsigned long, create_module, const char *, name, size_t, size)
716#endif 716#endif
717static char m_filename[BUFSIZ + 1] = "\0"; 717static char m_filename[BUFSIZ + 1];
718static char m_fullName[BUFSIZ + 1] = "\0"; 718static char m_fullName[BUFSIZ + 1];
719 719
720/*======================================================================*/ 720/*======================================================================*/
721 721