summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/acgcc.h
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2001-10-31 02:34:45 +0000
committermsmith <msmith@FreeBSD.org>2001-10-31 02:34:45 +0000
commitd560998a74aec46d39d9809a8aea41e507cc5468 (patch)
tree356c7fa1da5a6d598394a8af02ebd690e96b374c /sys/contrib/dev/acpica/acgcc.h
parente2ce4e5ccf9338008aa7e77235f376be92b5833e (diff)
downloadFreeBSD-src-d560998a74aec46d39d9809a8aea41e507cc5468.zip
FreeBSD-src-d560998a74aec46d39d9809a8aea41e507cc5468.tar.gz
Merge local changes, add new files and remove obsoleted ones.
Diffstat (limited to 'sys/contrib/dev/acpica/acgcc.h')
-rw-r--r--sys/contrib/dev/acpica/acgcc.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/contrib/dev/acpica/acgcc.h b/sys/contrib/dev/acpica/acgcc.h
index ed0bd70..9ca66f1 100644
--- a/sys/contrib/dev/acpica/acgcc.h
+++ b/sys/contrib/dev/acpica/acgcc.h
@@ -1,7 +1,7 @@
/******************************************************************************
*
* Name: acgcc.h - GCC specific defines, etc.
- * $Revision: 13 $
+ * $Revision: 14 $
*
*****************************************************************************/
@@ -251,4 +251,9 @@
#endif /* IA 32 */
+/* This macro is used to tag functions as "printf-like" because
+ * some compilers (like GCC) can catch printf format string problems.
+ */
+#define ACPI_PRINTF_LIKE_FUNC __attribute__ ((__format__ (__printf__, 4, 5)))
+
#endif /* __ACGCC_H__ */
OpenPOWER on IntegriCloud