From 4ab3e220c4188b6c147e1a0fa8ce1e2965d74d43 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 9 Mar 2010 23:30:41 +1100 Subject: Move prototype to header of common code for set_sockaddr_port --- lib/util/util_net.h | 2 ++ source3/include/proto.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/util/util_net.h b/lib/util/util_net.h index 6eacfc395f..5dc4df5e12 100644 --- a/lib/util/util_net.h +++ b/lib/util/util_net.h @@ -43,4 +43,6 @@ bool interpret_string_addr_prefer_ipv4(struct sockaddr_storage *pss, const char *str, int flags); +void set_sockaddr_port(struct sockaddr *psa, uint16_t port); + #endif /* _SAMBA_UTIL_NET_H_ */ diff --git a/source3/include/proto.h b/source3/include/proto.h index 6ecf0a5542..f6a43852f0 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1374,7 +1374,6 @@ char *print_sockaddr(char *dest, const struct sockaddr_storage *psa); char *print_canonical_sockaddr(TALLOC_CTX *ctx, const struct sockaddr_storage *pss); -void set_sockaddr_port(struct sockaddr *psa, uint16_t port); const char *client_name(int fd); int get_socket_port(int fd); const char *client_addr(int fd, char *addr, size_t addrlen); -- cgit