diff options
author | Robert Moore <Robert.Moore@intel.com> | 2016-06-15 10:51:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-15 10:51:12 -0700 |
commit | d776c9ee6e67f3b7a186d809763558ca7a358710 (patch) | |
tree | 22aee76d7f384a2553421abf763747a229bf0680 /source/include/acapps.h | |
parent | 8aac0be3c840747a032b63e7365c99190e2a0ba9 (diff) | |
download | acpica-d776c9ee6e67f3b7a186d809763558ca7a358710.tar.gz |
Revert "Efi edk2"revert-143-efi-edk2
Diffstat (limited to 'source/include/acapps.h')
-rw-r--r-- | source/include/acapps.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/source/include/acapps.h b/source/include/acapps.h index f8b7bd0b3..b8ab5a3c6 100644 --- a/source/include/acapps.h +++ b/source/include/acapps.h @@ -116,6 +116,12 @@ #ifndef _ACAPPS #define _ACAPPS +#include <stdio.h> + +#ifdef _MSC_VER /* disable some level-4 warnings */ +#pragma warning(disable:4100) /* warning C4100: unreferenced formal parameter */ +#endif + /* Common info for tool signons */ #define ACPICA_NAME "Intel ACPI Component Architecture" @@ -151,13 +157,13 @@ /* Macros for usage messages */ #define ACPI_USAGE_HEADER(Usage) \ - printf ("Usage: %s\nOptions:\n", Usage); + AcpiOsPrintf ("Usage: %s\nOptions:\n", Usage); #define ACPI_USAGE_TEXT(Description) \ - printf (Description); + AcpiOsPrintf (Description); #define ACPI_OPTION(Name, Description) \ - printf (" %-20s%s\n", Name, Description); + AcpiOsPrintf (" %-20s%s\n", Name, Description); /* Check for unexpected exceptions */ |