Author: Philip Jenvey <pjen...@underboss.org> Branch: Changeset: r74241:3d8fe96dc4d9 Date: 2014-10-26 04:42 -0700 http://bitbucket.org/pypy/pypy/changeset/3d8fe96dc4d9/
Log: refer RPY_EXPORTED_FOR_TESTS on the prototypes 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,12 +1,12 @@ /* Derived from CPython 3.3.5's operator.c::_tscmp */ -#include "src/precommondefs.h" #include <stdlib.h> #include <wchar.h> +#include "src/precommondefs.h" #include "tscmp.h" -RPY_EXPORTED_FOR_TESTS int +int pypy_tscmp(const char *a, const char *b, long len_a, long len_b) { /* The volatile type declarations make sure that the compiler has no @@ -43,7 +43,7 @@ return (result == 0); } -RPY_EXPORTED_FOR_TESTS int +int pypy_tscmp_wide(const wchar_t *a, const wchar_t *b, long len_a, long len_b) { /* The volatile type declarations make sure that the compiler has no diff --git a/pypy/module/operator/tscmp.h b/pypy/module/operator/tscmp.h --- a/pypy/module/operator/tscmp.h +++ b/pypy/module/operator/tscmp.h @@ -1,2 +1,2 @@ -int pypy_tscmp(const char *, const char *, long, long); -int pypy_tscmp_wide(const wchar_t *, const wchar_t *, long, long); +RPY_EXPORTED_FOR_TESTS int pypy_tscmp(const char *, const char *, long, long); +RPY_EXPORTED_FOR_TESTS int pypy_tscmp_wide(const wchar_t *, const wchar_t *, long, long); _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit