summaryrefslogtreecommitdiffstats
path: root/pciusb.c
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-27 09:47:11 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-27 09:47:11 +0000
commit93709c1e927c78fce18bdb81d22e8e17051e6f6d (patch)
tree59a0328544b5e6e99c5d0c6514f8e7b3679360dc /pciusb.c
parent854fece86dce2de112b2fee8c4d3d1078d94e0ef (diff)
downloadldetect-93709c1e927c78fce18bdb81d22e8e17051e6f6d.tar
ldetect-93709c1e927c78fce18bdb81d22e8e17051e6f6d.tar.gz
ldetect-93709c1e927c78fce18bdb81d22e8e17051e6f6d.tar.bz2
ldetect-93709c1e927c78fce18bdb81d22e8e17051e6f6d.tar.xz
ldetect-93709c1e927c78fce18bdb81d22e8e17051e6f6d.zip
try harder to reduce number of relocations (most remaining ones are due to
arrays of pointers)
Diffstat (limited to 'pciusb.c')
-rw-r--r--pciusb.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/pciusb.c b/pciusb.c
index 490d2b3..aa1530e 100644
--- a/pciusb.c
+++ b/pciusb.c
@@ -10,16 +10,16 @@
#include <modprobe.h>
#include "common.h"
-struct utsname rel_buf;
-struct module_command *commands = NULL;
-struct module_options *modoptions = NULL;
-struct module_alias *aliases = NULL;
-struct module_blacklist *blacklist = NULL;
-const char *config = NULL;
-
-char *optstring;
-char *aliasfilename, *symfilename;
-int init;
+static struct utsname rel_buf;
+static struct module_command *commands = NULL;
+static struct module_options *modoptions = NULL;
+static struct module_alias *aliases = NULL;
+static struct module_blacklist *blacklist = NULL;
+static const char *config = NULL;
+
+static char *optstring;
+static char *aliasfilename, *symfilename;
+static int init;
static void find_modules_through_aliases(struct pciusb_entries *entries) {
unsigned int i;