mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-26 01:03:37 +00:00
Use ISO C99 __func__ instead of GNU __FUNCTION__
This commit is contained in:
parent
4621a25ba4
commit
637a88fb0f
1 changed files with 1 additions and 1 deletions
2
xs.h
2
xs.h
|
@ -52,7 +52,7 @@ typedef char xs_data;
|
||||||
|
|
||||||
void *xs_free(void *ptr);
|
void *xs_free(void *ptr);
|
||||||
void *_xs_realloc(void *ptr, size_t size, const char *file, int line, const char *func);
|
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);
|
int _xs_blk_size(int sz);
|
||||||
void _xs_destroy(char **var);
|
void _xs_destroy(char **var);
|
||||||
#define xs_debug() raise(SIGTRAP)
|
#define xs_debug() raise(SIGTRAP)
|
||||||
|
|
Loading…
Reference in a new issue