remove unused stuff
This commit is contained in:
parent
90cbd9a61e
commit
06d71ca6a8
@ -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
|
||||
--- 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
|
||||
@@ -51,12 +51,13 @@
|
||||
*
|
||||
*/
|
||||
+++ xchat-wdk/plugins/python/python.c 2010-08-11 06:28:13 +0200
|
||||
@@ -53,10 +53,10 @@
|
||||
|
||||
+//#define _INC_DIRENT
|
||||
#include <glib.h>
|
||||
#include <string.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 "Python.h"
|
||||
@@ -68,7 +69,7 @@
|
||||
@@ -68,7 +68,7 @@
|
||||
|
||||
#ifdef 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
|
||||
#define VERSION "0.8"
|
||||
#endif
|
||||
@@ -1161,6 +1162,27 @@
|
||||
@@ -1161,6 +1161,27 @@
|
||||
PyObject_SetAttrString(m, "__version__", o);
|
||||
|
||||
if (filename) {
|
||||
@ -92,7 +89,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/plugins/python/python.c xchat-wdk/p
|
||||
FILE *fp;
|
||||
|
||||
plugin->filename = filename;
|
||||
@@ -1184,7 +1206,7 @@
|
||||
@@ -1184,7 +1205,7 @@
|
||||
goto error;
|
||||
}
|
||||
fclose(fp);
|
||||
|
Loading…
Reference in New Issue
Block a user