diff options
author | Dave Davenport <qball@gmpclient.org> | 2015-12-02 18:11:23 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2015-12-02 18:11:23 +0100 |
commit | dbd74760540d8c36763983a2fc410db13269e847 (patch) | |
tree | f120c9ae6e563f98918de6c2add70fc7cac330c6 /include/timings.h | |
parent | e4c7fe8f1e548ab14f28c9cf54f169659c45b9fe (diff) |
__FUNCTION__ is gcc extension, use __func__ now. Fixes issue #288
Diffstat (limited to 'include/timings.h')
-rw-r--r-- | include/timings.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/timings.h b/include/timings.h index 0bd6909c..4d18a4c6 100644 --- a/include/timings.h +++ b/include/timings.h @@ -8,8 +8,8 @@ void rofi_timings_tick ( char const *str, int line, char const *msg ); void rofi_timings_quit ( void ); #define TIMINGS_START() rofi_timings_init () -#define TICK() rofi_timings_tick ( __FUNCTION__, __LINE__, "" ) -#define TICK_N( a ) rofi_timings_tick ( __FUNCTION__, __LINE__, a ) +#define TICK() rofi_timings_tick ( __func__, __LINE__, "" ) +#define TICK_N( a ) rofi_timings_tick ( __func__, __LINE__, a ) #define TIMINGS_STOP() rofi_timings_quit () #else |