summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2014-05-04 15:50:12 +0000
committerXavier Roche <xroche@users.noreply.github.com>2014-05-04 15:50:12 +0000
commit5ff78eebd090d5c172437fe3c648e325e0c5a5a5 (patch)
tree0f9a178e35e1a581a6e248c9dc6cac2dfdb2b76a /src
parent76dc4d04fccb69366c9006e993eadbbc7bcb5048 (diff)
Fixed build.
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) {