@@ -25,25 +25,25 @@ extern "C" {
2525
2626/* Without DTrace, compile to nothing. */
2727
28- inline void PyDTrace_LINE (const char * arg0 , const char * arg1 , int arg2 ) {}
29- inline void PyDTrace_FUNCTION_ENTRY (const char * arg0 , const char * arg1 , int arg2 ) {}
30- inline void PyDTrace_FUNCTION_RETURN (const char * arg0 , const char * arg1 , int arg2 ) {}
31- inline void PyDTrace_GC_START (int arg0 ) {}
32- inline void PyDTrace_GC_DONE (int arg0 ) {}
33- inline void PyDTrace_INSTANCE_NEW_START (int arg0 ) {}
34- inline void PyDTrace_INSTANCE_NEW_DONE (int arg0 ) {}
35- inline void PyDTrace_INSTANCE_DELETE_START (int arg0 ) {}
36- inline void PyDTrace_INSTANCE_DELETE_DONE (int arg0 ) {}
37-
38- inline int PyDTrace_LINE_ENABLED (void ) { return 0 ; }
39- inline int PyDTrace_FUNCTION_ENTRY_ENABLED (void ) { return 0 ; }
40- inline int PyDTrace_FUNCTION_RETURN_ENABLED (void ) { return 0 ; }
41- inline int PyDTrace_GC_START_ENABLED (void ) { return 0 ; }
42- inline int PyDTrace_GC_DONE_ENABLED (void ) { return 0 ; }
43- inline int PyDTrace_INSTANCE_NEW_START_ENABLED (void ) { return 0 ; }
44- inline int PyDTrace_INSTANCE_NEW_DONE_ENABLED (void ) { return 0 ; }
45- inline int PyDTrace_INSTANCE_DELETE_START_ENABLED (void ) { return 0 ; }
46- inline int PyDTrace_INSTANCE_DELETE_DONE_ENABLED (void ) { return 0 ; }
28+ static inline void PyDTrace_LINE (const char * arg0 , const char * arg1 , int arg2 ) {}
29+ static inline void PyDTrace_FUNCTION_ENTRY (const char * arg0 , const char * arg1 , int arg2 ) {}
30+ static inline void PyDTrace_FUNCTION_RETURN (const char * arg0 , const char * arg1 , int arg2 ) {}
31+ static inline void PyDTrace_GC_START (int arg0 ) {}
32+ static inline void PyDTrace_GC_DONE (int arg0 ) {}
33+ static inline void PyDTrace_INSTANCE_NEW_START (int arg0 ) {}
34+ static inline void PyDTrace_INSTANCE_NEW_DONE (int arg0 ) {}
35+ static inline void PyDTrace_INSTANCE_DELETE_START (int arg0 ) {}
36+ static inline void PyDTrace_INSTANCE_DELETE_DONE (int arg0 ) {}
37+
38+ static inline int PyDTrace_LINE_ENABLED (void ) { return 0 ; }
39+ static inline int PyDTrace_FUNCTION_ENTRY_ENABLED (void ) { return 0 ; }
40+ static inline int PyDTrace_FUNCTION_RETURN_ENABLED (void ) { return 0 ; }
41+ static inline int PyDTrace_GC_START_ENABLED (void ) { return 0 ; }
42+ static inline int PyDTrace_GC_DONE_ENABLED (void ) { return 0 ; }
43+ static inline int PyDTrace_INSTANCE_NEW_START_ENABLED (void ) { return 0 ; }
44+ static inline int PyDTrace_INSTANCE_NEW_DONE_ENABLED (void ) { return 0 ; }
45+ static inline int PyDTrace_INSTANCE_DELETE_START_ENABLED (void ) { return 0 ; }
46+ static inline int PyDTrace_INSTANCE_DELETE_DONE_ENABLED (void ) { return 0 ; }
4747
4848#endif /* !WITH_DTRACE */
4949
0 commit comments