summaryrefslogtreecommitdiff
path: root/src/htsstrings.h
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-05-13 14:31:20 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-05-13 14:31:20 +0000
commitbb4c595810ccd9b849be2d20f5c16d6076d083bb (patch)
treea0443629b2d996f0597f75e8bafee3f8fd13505e /src/htsstrings.h
parent84c47b0ce10547fdf223f721ef88f7af09af5401 (diff)
Introducing the hts_log_print() logging function
* cleaned up logging
Diffstat (limited to 'src/htsstrings.h')
-rwxr-xr-xsrc/htsstrings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/htsstrings.h b/src/htsstrings.h
index 514963c..1102219 100755
--- a/src/htsstrings.h
+++ b/src/htsstrings.h
@@ -47,9 +47,11 @@ Please visit our Website: http://www.httrack.com
#ifdef __GNUC__
#define HTS_UNUSED __attribute__ ((unused))
#define HTS_STATIC static __attribute__ ((unused))
+#define HTS_PRINTF_FUN(fmt, arg) __attribute__ ((format (printf, fmt, arg)))
#else
#define HTS_UNUSED
#define HTS_STATIC static
+#define HTS_PRINTF_FUN(fmt, arg)
#endif
#endif