Author: Philip Jenvey <[email protected]>
Branch:
Changeset: r74238:673f24170065
Date: 2014-10-25 11:18 -0700
http://bitbucket.org/pypy/pypy/changeset/673f24170065/
Log: kill this header file
diff --git a/pypy/module/operator/tscmp.c b/pypy/module/operator/tscmp.c
--- a/pypy/module/operator/tscmp.c
+++ b/pypy/module/operator/tscmp.c
@@ -1,10 +1,9 @@
/* Derived from CPython 3.3.5's operator.c::_tscmp
*/
-#include "src/precommondefs.h"
#include <stdlib.h>
#include <wchar.h>
-#include "tscmp.h"
+#include "src/precommondefs.h"
RPY_EXPORTED_FOR_TESTS int
pypy_tscmp(const char *a, const char *b, long len_a, long len_b)
diff --git a/pypy/module/operator/tscmp.h b/pypy/module/operator/tscmp.h
deleted file mode 100644
--- a/pypy/module/operator/tscmp.h
+++ /dev/null
@@ -1,2 +0,0 @@
-int pypy_tscmp(const char *, const char *, long, long);
-int pypy_tscmp_wide(const wchar_t *, const wchar_t *, long, long);
diff --git a/pypy/module/operator/tscmp.py b/pypy/module/operator/tscmp.py
--- a/pypy/module/operator/tscmp.py
+++ b/pypy/module/operator/tscmp.py
@@ -12,8 +12,7 @@
cwd = py.path.local(__file__).dirpath()
eci = ExternalCompilationInfo(
- includes=[cwd.join('tscmp.h')],
- include_dirs=[str(cwd), cdir],
+ include_dirs=[cdir],
separate_module_files=[cwd.join('tscmp.c')])
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit