summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/htsinthash.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/htsinthash.c b/src/htsinthash.c
index 0e1d11c..32c8e1c 100644
--- a/src/htsinthash.c
+++ b/src/htsinthash.c
@@ -235,7 +235,8 @@ static char the_empty_string[1] = { 0 };
/* Logging */
static void inthash_log(const inthash hashtable, const char *format, ...)
- HTS_PRINTF_FUN(2, 3) {
+ HTS_PRINTF_FUN(2, 3);
+static void inthash_log(const inthash hashtable, const char *format, ...) {
va_list args;
inthash_assert(format != NULL);
fprintf(stderr, "[%p] ", (void*) hashtable);
@@ -247,7 +248,8 @@ static void inthash_log(const inthash hashtable, const char *format, ...)
/* No logging (should be dropped by the compiler) */
static void inthash_nolog(const inthash hashtable, const char *format, ...)
- HTS_PRINTF_FUN(2, 3) {
+ HTS_PRINTF_FUN(2, 3);
+static void inthash_nolog(const inthash hashtable, const char *format, ...) {
}
static void inthash_log_stats(inthash hashtable) {