diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-07-04 14:01:45 -0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-07-15 19:21:34 +0200 |
commit | f9980eec2287a01a918ff073a45f13d9dc66a1c6 (patch) | |
tree | a8e0aa8c984928a43624a8bbcac5f6aa488fcab2 /src | |
parent | 6c63d799a2b0f69485938dbae7975bf913284a23 (diff) |
get rid of one of the gcc warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/mspace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mspace.h b/src/mspace.h index 46a6a56..bd5fbae 100644 --- a/src/mspace.h +++ b/src/mspace.h @@ -9,7 +9,7 @@ extern "C" { //typedef unsigned long size_t; typedef void (*mspace_abort_t)(void *user_data); -typedef void (*mspace_print_t)(void *user_data, const char *format, ...); +typedef void (*mspace_print_t)(void *user_data, const char *format, ...) __attribute__((format(gnu_printf, 2, 3))); void mspace_set_abort_func(mspace_abort_t f); void mspace_set_print_func(mspace_print_t f); |