diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-12-28 17:04:42 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-12-28 17:04:42 +0000 |
commit | 3f9c84857617b0cf0d1824664e371fb6a4cac2e3 (patch) | |
tree | c073e77c0c0362246ce7eaccb3c846b15b8d2417 /networking | |
parent | ddc865fb0ddee9ed75467a164f27472c2234910a (diff) | |
download | busybox-w32-3f9c84857617b0cf0d1824664e371fb6a4cac2e3.tar.gz busybox-w32-3f9c84857617b0cf0d1824664e371fb6a4cac2e3.tar.bz2 busybox-w32-3f9c84857617b0cf0d1824664e371fb6a4cac2e3.zip |
trylink: instead of build error, disable --gc-sections if GLIBC && STATIC
nameif: glibc build fixlet
Diffstat (limited to 'networking')
-rw-r--r-- | networking/nameif.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/networking/nameif.c b/networking/nameif.c index 66376a500..f0b8d11b0 100644 --- a/networking/nameif.c +++ b/networking/nameif.c | |||
@@ -50,7 +50,7 @@ typedef struct ethtable_s { | |||
50 | #define ETHTOOL_BUSINFO_LEN 32 | 50 | #define ETHTOOL_BUSINFO_LEN 32 |
51 | /* these strings are set to whatever the driver author decides... */ | 51 | /* these strings are set to whatever the driver author decides... */ |
52 | struct ethtool_drvinfo { | 52 | struct ethtool_drvinfo { |
53 | __u32 cmd; | 53 | uint32_t cmd; |
54 | char driver[32]; /* driver short name, "tulip", "eepro100" */ | 54 | char driver[32]; /* driver short name, "tulip", "eepro100" */ |
55 | char version[32]; /* driver version string */ | 55 | char version[32]; /* driver version string */ |
56 | char fw_version[32]; /* firmware version string, if applicable */ | 56 | char fw_version[32]; /* firmware version string, if applicable */ |
@@ -58,10 +58,10 @@ struct ethtool_drvinfo { | |||
58 | /* For PCI devices, use pci_dev->slot_name. */ | 58 | /* For PCI devices, use pci_dev->slot_name. */ |
59 | char reserved1[32]; | 59 | char reserved1[32]; |
60 | char reserved2[16]; | 60 | char reserved2[16]; |
61 | __u32 n_stats; /* number of u64's from ETHTOOL_GSTATS */ | 61 | uint32_t n_stats; /* number of u64's from ETHTOOL_GSTATS */ |
62 | __u32 testinfo_len; | 62 | uint32_t testinfo_len; |
63 | __u32 eedump_len; /* Size of data from ETHTOOL_GEEPROM (bytes) */ | 63 | uint32_t eedump_len; /* Size of data from ETHTOOL_GEEPROM (bytes) */ |
64 | __u32 regdump_len; /* Size of data from ETHTOOL_GREGS (bytes) */ | 64 | uint32_t regdump_len; /* Size of data from ETHTOOL_GREGS (bytes) */ |
65 | }; | 65 | }; |
66 | #define ETHTOOL_GDRVINFO 0x00000003 /* Get driver info. */ | 66 | #define ETHTOOL_GDRVINFO 0x00000003 /* Get driver info. */ |
67 | #endif | 67 | #endif |