Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/acpica/dist/include need const otherwise we...



details:   https://anonhg.NetBSD.org/src/rev/5690a14fc749
branches:  trunk
changeset: 817991:5690a14fc749
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Sep 18 17:03:12 2016 +0000

description:
need const otherwise we get a const qual error from the opcode printing
function that returns const char *.

diffstat:

 sys/external/bsd/acpica/dist/include/acoutput.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 8082eeb51806 -r 5690a14fc749 sys/external/bsd/acpica/dist/include/acoutput.h
--- a/sys/external/bsd/acpica/dist/include/acoutput.h   Sun Sep 18 16:36:02 2016 +0000
+++ b/sys/external/bsd/acpica/dist/include/acoutput.h   Sun Sep 18 17:03:12 2016 +0000
@@ -372,7 +372,7 @@
     ACPI_TRACE_ENTRY (Name, AcpiUtTraceU32, const UINT32, Value)
 
 #define ACPI_FUNCTION_TRACE_STR(Name, String) \
-    ACPI_TRACE_ENTRY (Name, AcpiUtTraceStr, char *, String)
+    ACPI_TRACE_ENTRY (Name, AcpiUtTraceStr, const char *, String)
 
 #define ACPI_FUNCTION_ENTRY() \
     AcpiUtTrackStackPtr()



Home | Main Index | Thread Index | Old Index