summaryrefslogtreecommitdiff
path: root/common/sock_any.h
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-09-04 00:34:42 +0000
committerStef Walter <stef@memberwebs.com>2004-09-04 00:34:42 +0000
commit9eb7ce750e7718a958f9ffc0dd21b5b6c16a7a55 (patch)
tree8a7a5c3c30287a9a8908127cc1198b464789587e /common/sock_any.h
parent727802f454745929b6cf425f6fed42fe2beadf02 (diff)
Supress needless warnings
Diffstat (limited to 'common/sock_any.h')
-rw-r--r--common/sock_any.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/sock_any.h b/common/sock_any.h
index 9fcb128..31cb13b 100644
--- a/common/sock_any.h
+++ b/common/sock_any.h
@@ -80,11 +80,11 @@ int sock_any_pton(const char* addr, struct sockaddr_any* any, int opts);
#define SANY_OPT_DEFINET6 0x00200000
#endif
-int sock_any_ntop(struct sockaddr_any* any, char* addr, size_t addrlen, int opts);
+int sock_any_ntop(const struct sockaddr_any* any, char* addr, size_t addrlen, int opts);
/* Don't print or compare the port */
#define SANY_OPT_NOPORT 0x01000000
-int sock_any_cmp(struct sockaddr_any* a1, struct sockaddr_any* a2, int opts);
+int sock_any_cmp(const struct sockaddr_any* a1, const struct sockaddr_any* a2, int opts);
#endif /* __SOCK_ANY_H__ */