diff options
author | Moriyoshi Koizumi <moriyoshi@php.net> | 2011-06-20 20:30:36 +0000 |
---|---|---|
committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2011-06-20 20:30:36 +0000 |
commit | 2c6b2f64df72bde7ec8a8a61687e809cfb502b32 (patch) | |
tree | 3daaa428f79d9e4431861b273d13dd6d4740bdad /main/network.c | |
parent | 5b921a87a194f7758c3ab817ded47e9b5bc3efaa (diff) | |
download | php-git-2c6b2f64df72bde7ec8a8a61687e809cfb502b32.tar.gz |
- Forgot to commit these.
Diffstat (limited to 'main/network.c')
-rw-r--r-- | main/network.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/network.c b/main/network.c index 0d7a30ca8b..1e2f81aa12 100644 --- a/main/network.c +++ b/main/network.c @@ -148,7 +148,7 @@ static const char *php_gai_strerror(int code) /* {{{ php_network_freeaddresses */ -static void php_network_freeaddresses(struct sockaddr **sal) +PHPAPI void php_network_freeaddresses(struct sockaddr **sal) { struct sockaddr **sap; @@ -163,7 +163,7 @@ static void php_network_freeaddresses(struct sockaddr **sal) /* {{{ php_network_getaddresses * Returns number of addresses, 0 for none/error */ -static int php_network_getaddresses(const char *host, int socktype, struct sockaddr ***sal, char **error_string TSRMLS_DC) +PHPAPI int php_network_getaddresses(const char *host, int socktype, struct sockaddr ***sal, char **error_string TSRMLS_DC) { struct sockaddr **sap; int n; |