Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/intel-public/acpica/dist ACPICA does not unders...
details: https://anonhg.NetBSD.org/src/rev/6ab164d899fa
branches: trunk
changeset: 755454:6ab164d899fa
user: jruoho <jruoho%NetBSD.org@localhost>
date: Sun Jun 06 18:33:14 2010 +0000
description:
ACPICA does not understand the const type qualifier.
diffstat:
sys/external/intel-public/acpica/dist/debugger/dbdisply.c | 2 +-
sys/external/intel-public/acpica/dist/include/acutils.h | 2 +-
sys/external/intel-public/acpica/dist/utilities/utglobal.c | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diffs (44 lines):
diff -r cf5139719064 -r 6ab164d899fa sys/external/intel-public/acpica/dist/debugger/dbdisply.c
--- a/sys/external/intel-public/acpica/dist/debugger/dbdisply.c Sun Jun 06 18:28:35 2010 +0000
+++ b/sys/external/intel-public/acpica/dist/debugger/dbdisply.c Sun Jun 06 18:33:14 2010 +0000
@@ -816,7 +816,7 @@
ACPI_GPE_XRUPT_INFO *GpeXruptInfo;
ACPI_GPE_EVENT_INFO *GpeEventInfo;
ACPI_GPE_REGISTER_INFO *GpeRegisterInfo;
- char *GpeType;
+ const char *GpeType;
UINT32 GpeIndex;
UINT32 Block = 0;
UINT32 i;
diff -r cf5139719064 -r 6ab164d899fa sys/external/intel-public/acpica/dist/include/acutils.h
--- a/sys/external/intel-public/acpica/dist/include/acutils.h Sun Jun 06 18:28:35 2010 +0000
+++ b/sys/external/intel-public/acpica/dist/include/acutils.h Sun Jun 06 18:33:14 2010 +0000
@@ -213,7 +213,7 @@
AcpiUtGetNodeName (
void *Object);
-char *
+const char *
AcpiUtGetDescriptorName (
void *Object);
diff -r cf5139719064 -r 6ab164d899fa sys/external/intel-public/acpica/dist/utilities/utglobal.c
--- a/sys/external/intel-public/acpica/dist/utilities/utglobal.c Sun Jun 06 18:28:35 2010 +0000
+++ b/sys/external/intel-public/acpica/dist/utilities/utglobal.c Sun Jun 06 18:33:14 2010 +0000
@@ -644,14 +644,14 @@
};
-char *
+const char *
AcpiUtGetDescriptorName (
void *Object)
{
if (!Object)
{
- return __UNCONST("NULL OBJECT");
+ return ("NULL OBJECT");
}
if (ACPI_GET_DESCRIPTOR_TYPE (Object) > ACPI_DESC_TYPE_MAX)
Home |
Main Index |
Thread Index |
Old Index