com php-src: added missing prototype: ext/sockets/sockaddr_co nv.c
| From: | Anatol Belski | Date: | Wed, 11 Dec 2013 13:15:40 +0000 |
| Subject: | com php-src: added missing prototype: ext/sockets/sockaddr_co nv.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-74375@lists.php.net to get a copy of this message | ||
Commit: edf601a41f4d8b468883c25f3981d20fd2a9921d
Author: Anatol Belski <ab@php.net> Wed, 11 Dec 2013 14:15:40 +0100
Parents: b6bcae5c1000fa4785d71502cbc30fb7a83db13d
Branches: PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=edf601a41f4d8b468883c25f3981d20fd2a9921d
Log:
added missing prototype
Changed paths:
M ext/sockets/sockaddr_conv.c
Diff:
diff --git a/ext/sockets/sockaddr_conv.c b/ext/sockets/sockaddr_conv.c
index bc1131a..1c1a90d 100644
--- a/ext/sockets/sockaddr_conv.c
+++ b/ext/sockets/sockaddr_conv.c
@@ -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) /*
{{{ */