[pypy-commit] pypy stmgc-c7: fixes

arigo noreply at buildbot.pypy.org
Wed Nov 19 01:00:41 CET 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: stmgc-c7
Changeset: r74582:9a95c6696552
Date: 2014-11-19 01:00 +0100
http://bitbucket.org/pypy/pypy/changeset/9a95c6696552/

Log:	fixes

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 = ["""
-extern double pypy_clock_get_time(void);
-extern double pypy_clock_get_clock(void);
+RPY_EXTERN double pypy_clock_get_time(void);
+RPY_EXTERN double pypy_clock_get_clock(void);
 """],
     separate_module_sources = ["""
 double pypy_clock_get_time(void) {
diff --git a/rpython/translator/c/src/signals.h b/rpython/translator/c/src/signals.h
--- a/rpython/translator/c/src/signals.h
+++ b/rpython/translator/c/src/signals.h
@@ -35,7 +35,9 @@
    export a function with the correct name for testing */
 RPY_EXTERN
 void *pypysig_getaddr_occurred(void);
+RPY_EXTERN
 long pypysig_get_occurred(void);
+RPY_EXTERN
 void pypysig_set_occurred(long);
 #define pypysig_getaddr_occurred()   ((void *)(&pypysig_counter))
 #define pypysig_get_occurred()       (pypysig_counter.value)


More information about the pypy-commit mailing list