Replace __PyCodeExtraState_Get() with __PyCodeExtraState_Get(void) to
fix the following GCC warning:
./Include/pystate.h:63:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
__PyCodeExtraState* __PyCodeExtraState_Get();
} __PyCodeExtraState;
/* This is temporary for backwards compat in 3.6 and will be removed in 3.7 */
-__PyCodeExtraState* __PyCodeExtraState_Get();
+__PyCodeExtraState* __PyCodeExtraState_Get(void);
/* State unique per thread */
return oldts;
}
-__PyCodeExtraState*
-__PyCodeExtraState_Get() {
+__PyCodeExtraState*
+__PyCodeExtraState_Get(void) {
PyInterpreterState* interp = PyThreadState_Get()->interp;
HEAD_LOCK();