summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-03-09 23:30:41 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-03-11 11:27:47 +1100
commit4ab3e220c4188b6c147e1a0fa8ce1e2965d74d43 (patch)
tree265f464b97d1d68407553680bffa79dfbe6af97d /lib/util
parent5ed18fad0037146bb321eb7e73c82be403a45917 (diff)
downloadsamba-4ab3e220c4188b6c147e1a0fa8ce1e2965d74d43.tar.gz
samba-4ab3e220c4188b6c147e1a0fa8ce1e2965d74d43.tar.bz2
samba-4ab3e220c4188b6c147e1a0fa8ce1e2965d74d43.zip
Move prototype to header of common code for set_sockaddr_port
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/util_net.h2
1 files changed, 2 insertions, 0 deletions
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_ */