From e0457eb3e0bb146411dc9471127329c560155bb7 Mon Sep 17 00:00:00 2001 From: "Bradley M. Froehle" Date: Tue, 24 Jul 2012 15:59:53 -0700 Subject: BUG: Exported f2py_size symbol prevents linking multiple f2py modules. --- numpy/f2py/cfuncs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/f2py') diff --git a/numpy/f2py/cfuncs.py b/numpy/f2py/cfuncs.py index 4956e5740..72ee4f7a4 100644 --- a/numpy/f2py/cfuncs.py +++ b/numpy/f2py/cfuncs.py @@ -260,7 +260,7 @@ cppmacros['len..']="""\ """ needs['f2py_size']=['stdarg.h'] cfuncs['f2py_size']="""\ -int f2py_size(PyArrayObject* var, ...) +static int f2py_size(PyArrayObject* var, ...) { npy_int sz = 0; npy_int dim; -- cgit v1.2.1