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/namespace __UNCONST(3).



details:   https://anonhg.NetBSD.org/src/rev/94734cd04a22
branches:  trunk
changeset: 753720:94734cd04a22
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Thu Apr 08 04:34:22 2010 +0000

description:
__UNCONST(3).

diffstat:

 sys/external/intel-public/acpica/dist/namespace/nsinit.c    |  2 +-
 sys/external/intel-public/acpica/dist/namespace/nsrepair2.c |  6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r db444f68e25d -r 94734cd04a22 sys/external/intel-public/acpica/dist/namespace/nsinit.c
--- a/sys/external/intel-public/acpica/dist/namespace/nsinit.c  Thu Apr 08 04:31:48 2010 +0000
+++ b/sys/external/intel-public/acpica/dist/namespace/nsinit.c  Thu Apr 08 04:34:22 2010 +0000
@@ -270,7 +270,7 @@
      * part of the ACPI specification.
      */
     Info.EvaluateInfo->PrefixNode = AcpiGbl_RootNode;
-    Info.EvaluateInfo->Pathname = METHOD_NAME__INI;
+    Info.EvaluateInfo->Pathname = __UNCONST(METHOD_NAME__INI);
     Info.EvaluateInfo->Parameters = NULL;
     Info.EvaluateInfo->Flags = ACPI_IGNORE_RETURN_VALUE;
 
diff -r db444f68e25d -r 94734cd04a22 sys/external/intel-public/acpica/dist/namespace/nsrepair2.c
--- a/sys/external/intel-public/acpica/dist/namespace/nsrepair2.c       Thu Apr 08 04:31:48 2010 +0000
+++ b/sys/external/intel-public/acpica/dist/namespace/nsrepair2.c       Thu Apr 08 04:34:22 2010 +0000
@@ -319,7 +319,7 @@
 
 
     Status = AcpiNsCheckSortedList (Data, ReturnObject, 2, 1,
-                ACPI_SORT_ASCENDING, "AmbientIlluminance");
+       ACPI_SORT_ASCENDING, __UNCONST("AmbientIlluminance"));
 
     return (Status);
 }
@@ -443,7 +443,7 @@
 
 
     Status = AcpiNsCheckSortedList (Data, ReturnObject, 5, 1,
-                ACPI_SORT_DESCENDING, "PowerDissipation");
+       ACPI_SORT_DESCENDING, __UNCONST("PowerDissipation"));
 
     return (Status);
 }
@@ -488,7 +488,7 @@
      * should be proportional to the power.
      */
     Status =AcpiNsCheckSortedList (Data, ReturnObject, 6, 0,
-                ACPI_SORT_DESCENDING, "CpuFrequency");
+       ACPI_SORT_DESCENDING, __UNCONST("CpuFrequency"));
     if (ACPI_FAILURE (Status))
     {
         return (Status);



Home | Main Index | Thread Index | Old Index