summaryrefslogtreecommitdiff
path: root/ext/sockets/php_sockets.h
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-04-17 23:18:58 +0000
committerfoobar <sniper@php.net>2003-04-17 23:18:58 +0000
commit1e3e1d5880a210cd30dae0c391c96fccdef7ee49 (patch)
treecb9830fa14c35876834dfd3b9f7763852612f5d6 /ext/sockets/php_sockets.h
parentf2654df92c69023d89e57a05c7cd3f6bfb9592a7 (diff)
downloadphp-git-1e3e1d5880a210cd30dae0c391c96fccdef7ee49.tar.gz
CS cleanup + NS protection for some functions (used only in sockets.c btw)
Diffstat (limited to 'ext/sockets/php_sockets.h')
-rw-r--r--ext/sockets/php_sockets.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/sockets/php_sockets.h b/ext/sockets/php_sockets.h
index c31c0a78fe..fed1dda9a6 100644
--- a/ext/sockets/php_sockets.h
+++ b/ext/sockets/php_sockets.h
@@ -102,9 +102,10 @@ typedef struct {
} php_sockets_globals;
/* Prototypes */
-int open_listen_sock(php_socket **php_sock, int port, int backlog TSRMLS_DC);
-int accept_connect(php_socket *in_sock, php_socket **new_sock, struct sockaddr *la TSRMLS_DC);
-int php_read(int bsd_socket, void *buf, size_t maxlen, int flags);
+static int php_open_listen_sock(php_socket **php_sock, int port, int backlog TSRMLS_DC);
+static int php_accept_connect(php_socket *in_sock, php_socket **new_sock, struct sockaddr *la TSRMLS_DC);
+static int php_read(int bsd_socket, void *buf, size_t maxlen, int flags);
+static char *php_strerror(int error TSRMLS_DC);
ZEND_BEGIN_MODULE_GLOBALS(sockets)
int last_error;