diff options
author | Robert Moore <Robert.Moore@intel.com> | 2016-03-10 10:20:07 -0800 |
---|---|---|
committer | Robert Moore <Robert.Moore@intel.com> | 2016-03-10 10:20:07 -0800 |
commit | a240cbb93647bddf525b3daf6e9d31b8b9bca34e (patch) | |
tree | d09a75b237d71e9e4d9364fc7129424e0e1e74ad /source/components/executer/exdump.c | |
parent | b8ea82d165740cdc56cec294dedda71d10710119 (diff) | |
download | acpica-a240cbb93647bddf525b3daf6e9d31b8b9bca34e.tar.gz |
All: const keyword changes across the ACPICA source
Integrated most changes proposed by NetBSD.
From joerg@NetBSD.org (Joerg Sonnenberger)
ACPICA BZ 732.
Diffstat (limited to 'source/components/executer/exdump.c')
-rw-r--r-- | source/components/executer/exdump.c | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/source/components/executer/exdump.c b/source/components/executer/exdump.c index a03a4393b..d0db3a6a7 100644 --- a/source/components/executer/exdump.c +++ b/source/components/executer/exdump.c @@ -132,13 +132,13 @@ static void AcpiExOutString ( - char *Title, - char *Value); + const char *Title, + const char *Value); static void AcpiExOutPointer ( - char *Title, - void *Value); + const char *Title, + const void *Value); static void AcpiExDumpObject ( @@ -452,8 +452,7 @@ AcpiExDumpObject ( ACPI_EXDUMP_INFO *Info) { UINT8 *Target; - char *Name; - const char *ReferenceName; + const char *Name; UINT8 Count; ACPI_OPERAND_OBJECT *Start; ACPI_OPERAND_OBJECT *Data = NULL; @@ -544,9 +543,7 @@ AcpiExDumpObject ( case ACPI_EXD_REFERENCE: - ReferenceName = AcpiUtGetReferenceName (ObjDesc); - AcpiExOutString ( - "Class Name", ACPI_CAST_PTR (char, ReferenceName)); + AcpiExOutString ("Class Name", AcpiUtGetReferenceName (ObjDesc)); AcpiExDumpReferenceObj (ObjDesc); break; @@ -1043,16 +1040,16 @@ AcpiExDumpOperands ( static void AcpiExOutString ( - char *Title, - char *Value) + const char *Title, + const char *Value) { AcpiOsPrintf ("%20s : %s\n", Title, Value); } static void AcpiExOutPointer ( - char *Title, - void *Value) + const char *Title, + const void *Value) { AcpiOsPrintf ("%20s : %p\n", Title, Value); } |