]> granicus.if.org Git - php/commitdiff
added missing prototype
authorAnatol Belski <ab@php.net>
Wed, 11 Dec 2013 13:15:40 +0000 (14:15 +0100)
committerAnatol Belski <ab@php.net>
Wed, 11 Dec 2013 13:15:40 +0000 (14:15 +0100)
ext/sockets/sockaddr_conv.c

index bc1131a73476e294373be45072e7f1d3f8217722..1c1a90d58f07f580a221a715e300fc7c8ad54090 100644 (file)
@@ -9,6 +9,8 @@
 #include <arpa/inet.h>
 #endif
 
+extern int php_string_to_if_index(const char *val, unsigned *out TSRMLS_DC);
+
 #if HAVE_IPV6
 /* Sets addr by hostname, or by ip in string form (AF_INET6) */
 int php_set_inet6_addr(struct sockaddr_in6 *sin6, char *string, php_socket *php_sock TSRMLS_DC) /* {{{ */