diff options
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 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 | }; |