remove unused stuff

This commit is contained in:
berkeviktor@aol.com 2010-08-11 06:29:19 +02:00
parent 90cbd9a61e
commit 06d71ca6a8

View File

@ -38,12 +38,9 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/plugins/perl/perl.c xchat-wdk/plugi
} }
diff -ruN --strip-trailing-cr xchat-wdk.orig/plugins/python/python.c xchat-wdk/plugins/python/python.c diff -ruN --strip-trailing-cr xchat-wdk.orig/plugins/python/python.c xchat-wdk/plugins/python/python.c
--- xchat-wdk.orig/plugins/python/python.c 2010-05-16 06:31:54 +0200 --- xchat-wdk.orig/plugins/python/python.c 2010-05-16 06:31:54 +0200
+++ xchat-wdk/plugins/python/python.c 2010-08-11 05:46:52 +0200 +++ xchat-wdk/plugins/python/python.c 2010-08-11 06:28:13 +0200
@@ -51,12 +51,13 @@ @@ -53,10 +53,10 @@
*
*/
+//#define _INC_DIRENT
#include <glib.h> #include <glib.h>
#include <string.h> #include <string.h>
-#include <unistd.h> -#include <unistd.h>
@ -55,7 +52,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/plugins/python/python.c xchat-wdk/p
#include "xchat-plugin.h" #include "xchat-plugin.h"
#include "Python.h" #include "Python.h"
@@ -68,7 +69,7 @@ @@ -68,7 +68,7 @@
#ifdef WIN32 #ifdef WIN32
#undef WITH_THREAD /* Thread support locks up xchat on Win32. */ #undef WITH_THREAD /* Thread support locks up xchat on Win32. */
@ -64,7 +61,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/plugins/python/python.c xchat-wdk/p
#else #else
#define VERSION "0.8" #define VERSION "0.8"
#endif #endif
@@ -1161,6 +1162,27 @@ @@ -1161,6 +1161,27 @@
PyObject_SetAttrString(m, "__version__", o); PyObject_SetAttrString(m, "__version__", o);
if (filename) { if (filename) {
@ -92,7 +89,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/plugins/python/python.c xchat-wdk/p
FILE *fp; FILE *fp;
plugin->filename = filename; plugin->filename = filename;
@@ -1184,7 +1206,7 @@ @@ -1184,7 +1205,7 @@
goto error; goto error;
} }
fclose(fp); fclose(fp);