From bb4c595810ccd9b849be2d20f5c16d6076d083bb Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Mon, 13 May 2013 14:31:20 +0000 Subject: Introducing the hts_log_print() logging function * cleaned up logging --- src/htsstrings.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/htsstrings.h') 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 -- cgit v1.2.3