summaryrefslogtreecommitdiff
path: root/xs.h
diff options
context:
space:
mode:
authorgrunfink <grunfink@noreply.codeberg.org>2024-05-30 08:44:54 +0000
committergrunfink <grunfink@noreply.codeberg.org>2024-05-30 08:44:54 +0000
commitd56d4beb90f613b82ebf705a3e81a667b9601860 (patch)
tree5998501d0ea9a09f26db65e2d29fcb0927b5eee0 /xs.h
parent5bc2017ba065337dd15aa280ca0a43855b7b507b (diff)
parentaf8f1ef273e457318cb48f198e73c59e57373723 (diff)
Merge pull request 'Mastodon PATCH API for user profile updates' (#169) from louis77/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/169
Diffstat (limited to 'xs.h')
-rw-r--r--xs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xs.h b/xs.h
index 8e04c99..4da0d6f 100644
--- 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)