diff options
author | Eric Andersen | 2001-03-19 19:28:24 +0000 |
---|---|---|
committer | Eric Andersen | 2001-03-19 19:28:24 +0000 |
commit | 23c1a18126aba2b2c3b5a818b826ae7f958cf4bd (patch) | |
tree | c6de60c84adfa91d4079f1b99ab9a39cd87c3c9b | |
parent | 7ef54de6726c3d0c0e7e94fab3a22496db03297e (diff) | |
download | busybox-23c1a18126aba2b2c3b5a818b826ae7f958cf4bd.zip busybox-23c1a18126aba2b2c3b5a818b826ae7f958cf4bd.tar.gz |
Per suggestion from Vladimir, no need to initialize these -- let the bss
do it.
-Erik
-rw-r--r-- | insmod.c | 8 | ||||
-rw-r--r-- | modutils/insmod.c | 8 |
2 files changed, 8 insertions, 8 deletions
@@ -119,7 +119,7 @@ #ifndef MODUTILS_MODULE_H static const int MODUTILS_MODULE_H = 1; -#ident "$Id: insmod.c,v 1.51 2001/03/12 23:08:34 markw Exp $" +#ident "$Id: insmod.c,v 1.52 2001/03/19 19:28:24 andersen Exp $" /* This file contains the structures used by the 2.0 and 2.1 kernels. We do not use the kernel headers directly because we do not wish @@ -325,7 +325,7 @@ int delete_module(const char *); #ifndef MODUTILS_OBJ_H static const int MODUTILS_OBJ_H = 1; -#ident "$Id: insmod.c,v 1.51 2001/03/12 23:08:34 markw Exp $" +#ident "$Id: insmod.c,v 1.52 2001/03/19 19:28:24 andersen Exp $" /* The relocatable object is manipulated using elfin types. */ @@ -714,8 +714,8 @@ unsigned long create_module(const char *name, size_t size) #else _syscall2(unsigned long, create_module, const char *, name, size_t, size) #endif -static char m_filename[BUFSIZ + 1] = "\0"; -static char m_fullName[BUFSIZ + 1] = "\0"; +static char m_filename[BUFSIZ + 1]; +static char m_fullName[BUFSIZ + 1]; /*======================================================================*/ diff --git a/modutils/insmod.c b/modutils/insmod.c index 5391c88..fe4e06a 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c @@ -119,7 +119,7 @@ #ifndef MODUTILS_MODULE_H static const int MODUTILS_MODULE_H = 1; -#ident "$Id: insmod.c,v 1.51 2001/03/12 23:08:34 markw Exp $" +#ident "$Id: insmod.c,v 1.52 2001/03/19 19:28:24 andersen Exp $" /* This file contains the structures used by the 2.0 and 2.1 kernels. We do not use the kernel headers directly because we do not wish @@ -325,7 +325,7 @@ int delete_module(const char *); #ifndef MODUTILS_OBJ_H static const int MODUTILS_OBJ_H = 1; -#ident "$Id: insmod.c,v 1.51 2001/03/12 23:08:34 markw Exp $" +#ident "$Id: insmod.c,v 1.52 2001/03/19 19:28:24 andersen Exp $" /* The relocatable object is manipulated using elfin types. */ @@ -714,8 +714,8 @@ unsigned long create_module(const char *name, size_t size) #else _syscall2(unsigned long, create_module, const char *, name, size_t, size) #endif -static char m_filename[BUFSIZ + 1] = "\0"; -static char m_fullName[BUFSIZ + 1] = "\0"; +static char m_filename[BUFSIZ + 1]; +static char m_fullName[BUFSIZ + 1]; /*======================================================================*/ |