Author: Armin Rigo <[email protected]>
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)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to