diff options
author | Dave Beckett <dave@dajobe.org> | 2012-06-08 18:48:22 -0700 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2012-06-08 18:48:22 -0700 |
commit | d0c3723a91f52874be57bec6ead59751fab82148 (patch) | |
tree | 3f270a7d067ca26100956c2768ee1733828c9bdd /src/snprintf.c | |
parent | 13d9ebac2362122086d78ec6427bb3cbf7c56e92 (diff) | |
download | raptor-d0c3723a91f52874be57bec6ead59751fab82148.tar.gz |
Prototypes for test functions to remove GCC format warnings
Diffstat (limited to 'src/snprintf.c')
-rw-r--r-- | src/snprintf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/snprintf.c b/src/snprintf.c index d63437a4..e8c55635 100644 --- a/src/snprintf.c +++ b/src/snprintf.c @@ -356,9 +356,12 @@ raptor_format_integer(char* buffer, size_t bufsize, int integer, int main(int argc, char *argv[]); +static int test_snprintf_real(int len_ref, const char *format, va_list arguments) RAPTOR_PRINTF_FORMAT(2, 0); +static int test_snprintf(size_t len_ref, const char *format, ...) RAPTOR_PRINTF_FORMAT(2, 3); static const char* program; + static int test_snprintf_real(int len_ref, const char *format, va_list arguments) { |