Author: Armin Rigo <[email protected]>
Branch: stmgc-c7
Changeset: r74483:3fc3f50e2523
Date: 2014-11-12 16:09 +0100
http://bitbucket.org/pypy/pypy/changeset/3fc3f50e2523/
Log: Use 'extern' here, just to make it easier to find after we merge
with the current default.
diff --git a/pypy/module/_stm/time.py b/pypy/module/_stm/time.py
--- a/pypy/module/_stm/time.py
+++ b/pypy/module/_stm/time.py
@@ -12,8 +12,8 @@
includes=["time.h"],
libraries=["rt"],
post_include_bits = ["""
-double pypy_clock_get_time(void);
-double pypy_clock_get_clock(void);
+extern double pypy_clock_get_time(void);
+extern double pypy_clock_get_clock(void);
"""],
separate_module_sources = ["""
double pypy_clock_get_time(void) {
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit