diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-03-15 19:46:43 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-03-15 19:46:43 +0000 |
commit | 1cc70225e7bfee447543ea38b08c7caeb6492c8b (patch) | |
tree | a783bb5976def93f723a75c930671e2b31c1f1e7 /include | |
parent | 54d14ca1a2aa965d13055719e233032193a4daf2 (diff) | |
download | busybox-w32-1cc70225e7bfee447543ea38b08c7caeb6492c8b.tar.gz busybox-w32-1cc70225e7bfee447543ea38b08c7caeb6492c8b.tar.bz2 busybox-w32-1cc70225e7bfee447543ea38b08c7caeb6492c8b.zip |
networking/interface.c: was doing really strange caching of fd's
open for getting ifconfig data - ??! Simplified all that. -200 bytes.
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/libbb.h b/include/libbb.h index 9a6966dbd..90fb0ad91 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -137,9 +137,6 @@ struct aftype { | |||
137 | 137 | ||
138 | /* may modify src */ | 138 | /* may modify src */ |
139 | int (*getmask) (char *src, struct sockaddr * mask, char *name); | 139 | int (*getmask) (char *src, struct sockaddr * mask, char *name); |
140 | |||
141 | int fd; | ||
142 | char *flag_file; | ||
143 | }; | 140 | }; |
144 | 141 | ||
145 | /* This structure defines hardware protocols and their handlers. */ | 142 | /* This structure defines hardware protocols and their handlers. */ |
@@ -530,11 +527,9 @@ int bbunpack(char **argv, | |||
530 | int create_icmp_socket(void); | 527 | int create_icmp_socket(void); |
531 | int create_icmp6_socket(void); | 528 | int create_icmp6_socket(void); |
532 | /* interface.c */ | 529 | /* interface.c */ |
533 | struct aftype; | ||
534 | struct hwtype; | ||
535 | extern int interface_opt_a; | 530 | extern int interface_opt_a; |
536 | int display_interfaces(char *ifname); | 531 | int display_interfaces(char *ifname); |
537 | struct aftype *get_aftype(const char *name); | 532 | const struct aftype *get_aftype(const char *name); |
538 | const struct hwtype *get_hwtype(const char *name); | 533 | const struct hwtype *get_hwtype(const char *name); |
539 | const struct hwtype *get_hwntype(int type); | 534 | const struct hwtype *get_hwntype(int type); |
540 | 535 | ||