fix function declaration in utility code
authorLisandro Dalcin <dalcinl@gmail.com>
Mon, 22 Dec 2008 12:02:31 +0000 (09:02 -0300)
committerLisandro Dalcin <dalcinl@gmail.com>
Mon, 22 Dec 2008 12:02:31 +0000 (09:02 -0300)
Cython/Compiler/ExprNodes.py

index 5c44f7d8ab18e960d0c4275ee39abea30eda5a92..febfaeed7a9b7744aac6c2d6f8e1c61475e79521 100644 (file)
@@ -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");
 }
 """)