cvs: php4 /ext/ircg ircg.c
| From: | Sascha Schumann | Date: | Mon, 10 Dec 2001 10:04:11 +0000 |
| Subject: | cvs: php4 /ext/ircg ircg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8552@lists.php.net to get a copy of this message | ||
sas Mon Dec 10 05:04:11 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
kill a couple of warnings
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.119 php4/ext/ircg/ircg.c:1.120
--- php4/ext/ircg/ircg.c:1.119 Wed Dec 5 18:54:53 2001
+++ php4/ext/ircg/ircg.c Mon Dec 10 05:04:11 2001
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: ircg.c,v 1.119 2001/12/05 23:54:53 hholzgra Exp $ */
+/* $Id: ircg.c,v 1.120 2001/12/10 10:04:11 sas Exp $ */
/* {{{ includes */
@@ -37,6 +37,22 @@
#include "ext/standard/info.h"
#include "ext/standard/basic_functions.h"
+#ifdef PHP_WIN32
+#include "win32/time.h"
+#else
+#include <sys/time.h>
+#endif
+
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+#ifdef HAVE_ARPA_INET_H
+#include <arpa/inet.h>
+#endif
+
#define IRCG_ERROR_MSG_GC_INTERVAL 50
/* }}} */
@@ -553,7 +569,6 @@
int i = 0;
const token_t *t = fmt_msg->t;
int ntoken = fmt_msg->ntoken;
- int para;
exec_fmt_msgs++;
@@ -1166,7 +1181,6 @@
{
zval **p1, **p2;
php_irconn_t *conn;
- int fd;
if (ZEND_NUM_ARGS() != 2 || zend_get_parameters_ex(2, &p1, &p2) == FAILURE)
WRONG_PARAM_COUNT;