From: Lisandro Dalcin Date: Mon, 22 Dec 2008 12:02:31 +0000 (-0300) Subject: fix function declaration in utility code X-Git-Tag: 0.11-beta~87 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=50ad672735231d02615967c896edd0ed8b8768b0;p=cython.git fix function declaration in utility code --- diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index 5c44f7d8..febfaeed 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -5414,10 +5414,10 @@ static INLINE void __Pyx_RaiseNoneAttributeError(const char* attrname) { raise_noneindex_error_utility_code = UtilityCode( proto = """ -static INLINE void __Pyx_RaiseNoneIndexingError(); +static INLINE void __Pyx_RaiseNoneIndexingError(void); """, impl = """ -static INLINE void __Pyx_RaiseNoneIndexingError() { +static INLINE void __Pyx_RaiseNoneIndexingError(void) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is unsubscriptable"); } """)