summaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2009-04-22 10:28:22 +0800
committerLen Brown <len.brown@intel.com>2009-05-27 00:30:48 -0400
commit8eb7b2477c4e4fec4788605e4edb5f7acafb59ff (patch)
tree1ecaeebe25f2cf9bac1c07d7c21eae083f3947af /include/acpi
parentb74be6119e9e38390395f08767b7c84de9023b38 (diff)
downloadop-kernel-dev-8eb7b2477c4e4fec4788605e4edb5f7acafb59ff.zip
op-kernel-dev-8eb7b2477c4e4fec4788605e4edb5f7acafb59ff.tar.gz
ACPICA: Fix a few warnings for gcc 3.4.4
Mostly for acpiexec, one in the core subsystem. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r--include/acpi/platform/acgcc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/acpi/platform/acgcc.h b/include/acpi/platform/acgcc.h
index 8e2cdc5..935c5d7 100644
--- a/include/acpi/platform/acgcc.h
+++ b/include/acpi/platform/acgcc.h
@@ -62,4 +62,8 @@
*/
#define ACPI_UNUSED_VAR __attribute__ ((unused))
+#ifdef _ANSI
+#define inline
+#endif
+
#endif /* __ACGCC_H__ */
OpenPOWER on IntegriCloud