aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-03-14 22:11:20 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-03-14 22:11:20 +0000
commit7f2527e5a7f513b9f415643ddc0ecd236b596887 (patch)
tree710d52b0a41425e8e82ad3ea5c674b5f61264cf7 /include
parent650a0459b87314fc412dc81a2a863fefb969ca37 (diff)
downloadbusybox-w32-7f2527e5a7f513b9f415643ddc0ecd236b596887.tar.gz
busybox-w32-7f2527e5a7f513b9f415643ddc0ecd236b596887.tar.bz2
busybox-w32-7f2527e5a7f513b9f415643ddc0ecd236b596887.zip
arp, networking/interface.c: eliminate statics
and unneeded on-stack buffers, disable (comment out) some apparently unused (and buggy) code paths. -700 bytes.
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 632ed937d..9ea9f5ae6 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -129,8 +129,8 @@ struct aftype {
129 int af; 129 int af;
130 int alen; 130 int alen;
131 char *(*print) (unsigned char *); 131 char *(*print) (unsigned char *);
132 char *(*sprint) (struct sockaddr *, int numeric); 132 const char *(*sprint) (struct sockaddr *, int numeric);
133 int (*input) (int type, char *bufp, struct sockaddr *); 133 int (*input) (/*int type,*/ const char *bufp, struct sockaddr *);
134 void (*herror) (char *text); 134 void (*herror) (char *text);
135 int (*rprint) (int options); 135 int (*rprint) (int options);
136 int (*rinput) (int typ, int ext, char **argv); 136 int (*rinput) (int typ, int ext, char **argv);
@@ -149,7 +149,7 @@ struct hwtype {
149 int type; 149 int type;
150 int alen; 150 int alen;
151 char *(*print) (unsigned char *); 151 char *(*print) (unsigned char *);
152 int (*input) (char *, struct sockaddr *); 152 int (*input) (const char *, struct sockaddr *);
153 int (*activate) (int fd); 153 int (*activate) (int fd);
154 int suppress_null_addr; 154 int suppress_null_addr;
155}; 155};