diff options
Diffstat (limited to 'lib/net-support.h')
-rw-r--r-- | lib/net-support.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/net-support.h b/lib/net-support.h index dae15ac..d7a19d5 100644 --- a/lib/net-support.h +++ b/lib/net-support.h @@ -38,8 +38,8 @@ struct aftype { char *title; int af; int alen; - char *(*print) (unsigned char *); - char *(*sprint) (struct sockaddr *, int numeric); + const char *(*print) (const char *); + const char *(*sprint) (struct sockaddr *, int numeric); int (*input) (int type, char *bufp, struct sockaddr *); void (*herror) (char *text); int (*rprint) (int options); @@ -60,7 +60,7 @@ struct hwtype { char *title; int type; int alen; - char *(*print) (unsigned char *); + const char *(*print) (const char *); int (*input) (char *, struct sockaddr *); int (*activate) (int fd); int suppress_null_addr; |