aboutsummaryrefslogtreecommitdiff
path: root/src/libeinfo/einfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libeinfo/einfo.h')
-rw-r--r--src/libeinfo/einfo.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/libeinfo/einfo.h b/src/libeinfo/einfo.h
index d9f1b54e..4fd5425b 100644
--- a/src/libeinfo/einfo.h
+++ b/src/libeinfo/einfo.h
@@ -13,13 +13,8 @@
#ifndef __EINFO_H__
#define __EINFO_H__
-#if defined(__GNUC__)
-# define EINFO_PRINTF(a, b) __attribute__((__format__(__printf__, a, b)))
-# define EINFO_XPRINTF(a, b) __attribute__((__noreturn__,__format__(__printf__, a, b)))
-#else
-# define EINFO_PRINTF(a, b)
-# define EINFO_XPRINTF(a, b)
-#endif
+#define EINFO_PRINTF(a, b) __attribute__((__format__(__printf__, a, b)))
+#define EINFO_XPRINTF(a, b) __attribute__((__noreturn__, __format__(__printf__, a, b)))
#include <sys/types.h>
#include <stdbool.h>