From 4a240c6a50a4dcabdd31261f1d21370d7145df5f Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Wed, 28 May 2003 01:04:06 +0000 Subject: Fixed compiler warnings. --- ext/sockets/php_sockets.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/sockets/php_sockets.h') diff --git a/ext/sockets/php_sockets.h b/ext/sockets/php_sockets.h index fed1dda9a6..b7bc6ee310 100644 --- a/ext/sockets/php_sockets.h +++ b/ext/sockets/php_sockets.h @@ -102,10 +102,12 @@ typedef struct { } php_sockets_globals; /* Prototypes */ +#ifdef ilia_0 /* not needed, only causes a compiler warning */ 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); +#endif ZEND_BEGIN_MODULE_GLOBALS(sockets) int last_error; -- cgit v1.2.1