summaryrefslogtreecommitdiff
path: root/src/print_ipv6_addr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/print_ipv6_addr.c')
-rw-r--r--src/print_ipv6_addr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print_ipv6_addr.c b/src/print_ipv6_addr.c
index 21974f3..f987b59 100644
--- a/src/print_ipv6_addr.c
+++ b/src/print_ipv6_addr.c
@@ -64,7 +64,7 @@ static char *get_sockname(struct addrinfo *addr) {
* Returns the IPv6 address with which you have connectivity at the moment.
* The char * is statically allocated and mustn't be freed
*/
-static char *get_ipv6_addr() {
+static char *get_ipv6_addr(void) {
struct addrinfo hints;
struct addrinfo *result, *resp;
static struct addrinfo *cached = NULL;