diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2016-08-01 21:20:41 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2016-08-01 21:20:41 +0000 |
commit | 8bc6ab62dbdb3e8b0d2253e0440f6f58ac9afd3d (patch) | |
tree | b2316b6fda5368bb277671853a71b2a758582b05 /source/include/acapps.h | |
parent | 4d46bb7749ef0cf25eb2b25f2d7324023cb754b4 (diff) | |
download | src-test2-vendor/acpica/20160729.tar.gz src-test2-vendor/acpica/20160729.zip |
Diffstat (limited to 'source/include/acapps.h')
-rw-r--r-- | source/include/acapps.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/source/include/acapps.h b/source/include/acapps.h index 87284f20b0da..d14bce1ff03f 100644 --- a/source/include/acapps.h +++ b/source/include/acapps.h @@ -44,11 +44,9 @@ #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 +#ifdef ACPI_USE_STANDARD_HEADERS +#include <sys/stat.h> +#endif /* ACPI_USE_STANDARD_HEADERS */ /* Common info for tool signons */ @@ -85,13 +83,13 @@ /* Macros for usage messages */ #define ACPI_USAGE_HEADER(Usage) \ - AcpiOsPrintf ("Usage: %s\nOptions:\n", Usage); + printf ("Usage: %s\nOptions:\n", Usage); #define ACPI_USAGE_TEXT(Description) \ - AcpiOsPrintf (Description); + printf (Description); #define ACPI_OPTION(Name, Description) \ - AcpiOsPrintf (" %-20s%s\n", Name, Description); + printf (" %-20s%s\n", Name, Description); /* Check for unexpected exceptions */ |