aboutsummaryrefslogtreecommitdiffstats
path: root/git-tools/hooks/prepare-commit-msg
diff options
context:
space:
mode:
authorTobi Schäfer <mail@tas2580.net>2016-09-15 00:55:16 +0200
committerMarc Alexander <admin@m-a-styles.de>2016-09-24 08:21:27 +0200
commit537dca0892805350a5a3db51813703d895559a2c (patch)
treef4bf0a8a3b1b98bb2fce31855badcaaf43dff536 /git-tools/hooks/prepare-commit-msg
parent2436af94e3cc0249e4299a3773261f13822ee5df (diff)
downloadforums-537dca0892805350a5a3db51813703d895559a2c.tar
forums-537dca0892805350a5a3db51813703d895559a2c.tar.gz
forums-537dca0892805350a5a3db51813703d895559a2c.tar.bz2
forums-537dca0892805350a5a3db51813703d895559a2c.tar.xz
forums-537dca0892805350a5a3db51813703d895559a2c.zip
[ticket/14784] missing rewrite for lighttpd
PHPBB3-14784
Diffstat (limited to 'git-tools/hooks/prepare-commit-msg')
0 files changed, 0 insertions, 0 deletions
this.form.submit();'>
authorFrancois Pons <fpons@mandriva.com>2002-07-03 13:36:16 +0000
committerFrancois Pons <fpons@mandriva.com>2002-07-03 13:36:16 +0000
commita3fd355593f7ab9ae5c6d57ec69ef3f5a2f8cb9a (patch)
tree300ad979ae1af5541442635072cc3baa102a45a4 /mdk-stage1
parentf34c4b838d4746ccc4639bf4554e6200407ae157 (diff)
downloaddrakx-a3fd355593f7ab9ae5c6d57ec69ef3f5a2f8cb9a.tar
drakx-a3fd355593f7ab9ae5c6d57ec69ef3f5a2f8cb9a.tar.gz
drakx-a3fd355593f7ab9ae5c6d57ec69ef3f5a2f8cb9a.tar.bz2
drakx-a3fd355593f7ab9ae5c6d57ec69ef3f5a2f8cb9a.tar.xz
drakx-a3fd355593f7ab9ae5c6d57ec69ef3f5a2f8cb9a.zip
fixed static definition when non static declaration (gcc limitation).
added conditional code around network detection.
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/probing.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c
index 6dd678ce0..04afc9ce0 100644
--- a/mdk-stage1/probing.c
+++ b/mdk-stage1/probing.c
@@ -120,7 +120,7 @@ char * get_net_intf_description(char * intf_name)
}
#endif
-static void probe_that_type(enum driver_type type)
+void probe_that_type(enum driver_type type)
{
if (IS_EXPERT) {
ask_insmod(type);
@@ -272,6 +272,7 @@ static void probe_that_type(enum driver_type type)
for (i = 0; i < len; i++) {
if (usbdb[i].vendor == vendor && usbdb[i].id == id) {
log_message("USB: device %04x %04x is \"%s\" (%s)", vendor, id, usbdb[i].name, usbdb[i].module);
+#ifndef DISABLE_NETWORK
if (type == NETWORK_DEVICES) {
stg1_info_message("About to load driver for usb network device:\n \n%s", usbdb[i].name);
prepare_intf_descr(usbdb[i].name);
@@ -279,6 +280,7 @@ static void probe_that_type(enum driver_type type)
if (intf_descr_for_discover) /* for modules providing more than one net intf */
net_discovered_interface(NULL);
}
+#endif
}
}