snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 637a88fb0f20aa5aad2dcd66ec7ec7b39f7af0e2
parent 4621a25ba476b8222b7fca8b545ad2489469f310
Author: Louis Brauer <louis@openbooking.ch>
Date:   Mon, 27 May 2024 16:23:11 +0200

Use ISO C99 __func__ instead of GNU __FUNCTION__

Diffstat:
Mxs.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xs.h b/xs.h @@ -52,7 +52,7 @@ typedef char xs_data; void *xs_free(void *ptr); void *_xs_realloc(void *ptr, size_t size, const char *file, int line, const char *func); -#define xs_realloc(ptr, size) _xs_realloc(ptr, size, __FILE__, __LINE__, __FUNCTION__) +#define xs_realloc(ptr, size) _xs_realloc(ptr, size, __FILE__, __LINE__, __func__) int _xs_blk_size(int sz); void _xs_destroy(char **var); #define xs_debug() raise(SIGTRAP)