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/67c9c139800a
branches:  trunk
changeset: 347849:67c9c139800a
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 ad0bef9dcd3b -r 67c9c139800a 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