Module Name: src
Committed By: jakllsch
Date: Thu Aug 4 12:38:12 UTC 2016
Modified Files:
src/sys/external/bsd/acpica/dist/include: acoutput.h
Log Message:
Avoid 'const const'.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/external/bsd/acpica/dist/include/acoutput.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/acpica/dist/include/acoutput.h
diff -u src/sys/external/bsd/acpica/dist/include/acoutput.h:1.3 src/sys/external/bsd/acpica/dist/include/acoutput.h:1.4
--- src/sys/external/bsd/acpica/dist/include/acoutput.h:1.3 Mon Jul 18 17:26:12 2016
+++ src/sys/external/bsd/acpica/dist/include/acoutput.h Thu Aug 4 12:38:11 2016
@@ -357,7 +357,7 @@
#define ACPI_TRACE_ENTRY(Name, Function, Type, Param) \
ACPI_FUNCTION_NAME (Name) \
- Function (ACPI_DEBUG_PARAMETERS, (const Type) (Param))
+ Function (ACPI_DEBUG_PARAMETERS, (Type) (Param))
/* The actual entry trace macros */
@@ -366,10 +366,10 @@
AcpiUtTrace (ACPI_DEBUG_PARAMETERS)
#define ACPI_FUNCTION_TRACE_PTR(Name, Pointer) \
- ACPI_TRACE_ENTRY (Name, AcpiUtTracePtr, void *, Pointer)
+ ACPI_TRACE_ENTRY (Name, AcpiUtTracePtr, const void *, Pointer)
#define ACPI_FUNCTION_TRACE_U32(Name, Value) \
- ACPI_TRACE_ENTRY (Name, AcpiUtTraceU32, UINT32, Value)
+ ACPI_TRACE_ENTRY (Name, AcpiUtTraceU32, const UINT32, Value)
#define ACPI_FUNCTION_TRACE_STR(Name, String) \
ACPI_TRACE_ENTRY (Name, AcpiUtTraceStr, const char *, String)