diff options
author | Denis Vlasenko | 2007-03-14 22:11:20 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-03-14 22:11:20 +0000 |
commit | 7f2527e5a7f513b9f415643ddc0ecd236b596887 (patch) | |
tree | 710d52b0a41425e8e82ad3ea5c674b5f61264cf7 /include | |
parent | 650a0459b87314fc412dc81a2a863fefb969ca37 (diff) | |
download | busybox-7f2527e5a7f513b9f415643ddc0ecd236b596887.zip busybox-7f2527e5a7f513b9f415643ddc0ecd236b596887.tar.gz |
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.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libbb.h b/include/libbb.h index 632ed93..9ea9f5a 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -129,8 +129,8 @@ struct aftype { int af; int alen; char *(*print) (unsigned char *); - char *(*sprint) (struct sockaddr *, int numeric); - int (*input) (int type, char *bufp, struct sockaddr *); + const char *(*sprint) (struct sockaddr *, int numeric); + int (*input) (/*int type,*/ const char *bufp, struct sockaddr *); void (*herror) (char *text); int (*rprint) (int options); int (*rinput) (int typ, int ext, char **argv); @@ -149,7 +149,7 @@ struct hwtype { int type; int alen; char *(*print) (unsigned char *); - int (*input) (char *, struct sockaddr *); + int (*input) (const char *, struct sockaddr *); int (*activate) (int fd); int suppress_null_addr; }; |