summaryrefslogtreecommitdiff
path: root/source/components/utilities/uttrack.c
diff options
context:
space:
mode:
authorRobert Moore <Robert.Moore@intel.com>2015-06-09 12:11:26 -0700
committerRobert Moore <Robert.Moore@intel.com>2015-06-09 12:11:26 -0700
commit3b1026e0bdd3c32eb6d5d313f3ba0b1fee7597b4 (patch)
tree6fd238993b4555dd694426c579c109aa55966d10 /source/components/utilities/uttrack.c
parent960dac756bbf10e175ce79595124e084767a374a (diff)
downloadacpica-3b1026e0bdd3c32eb6d5d313f3ba0b1fee7597b4.tar.gz
De-macroize calls to standard C library functions.
Across all of ACPICA. Replace C library macros such as ACPI_STRLEN with the standard names such as strlen. The original purpose for these macros is long since obsolete.
Diffstat (limited to 'source/components/utilities/uttrack.c')
-rw-r--r--source/components/utilities/uttrack.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/components/utilities/uttrack.c b/source/components/utilities/uttrack.c
index 284bee046..f7f0bce90 100644
--- a/source/components/utilities/uttrack.c
+++ b/source/components/utilities/uttrack.c
@@ -185,7 +185,7 @@ AcpiUtCreateList (
return (AE_NO_MEMORY);
}
- ACPI_MEMSET (Cache, 0, sizeof (ACPI_MEMORY_LIST));
+ memset (Cache, 0, sizeof (ACPI_MEMORY_LIST));
Cache->ListName = ListName;
Cache->ObjectSize = ObjectSize;
@@ -517,7 +517,7 @@ AcpiUtTrackAllocation (
Allocation->Component = Component;
Allocation->Line = Line;
- ACPI_STRNCPY (Allocation->Module, Module, ACPI_MAX_MODULE_NAME);
+ strncpy (Allocation->Module, Module, ACPI_MAX_MODULE_NAME);
Allocation->Module[ACPI_MAX_MODULE_NAME-1] = 0;
if (!Element)
@@ -628,7 +628,7 @@ AcpiUtRemoveAllocation (
/* Mark the segment as deleted */
- ACPI_MEMSET (&Allocation->UserSpace, 0xEA, Allocation->Size);
+ memset (&Allocation->UserSpace, 0xEA, Allocation->Size);
Status = AcpiUtReleaseMutex (ACPI_MTX_MEMORY);
return (Status);
@@ -739,7 +739,7 @@ AcpiUtDumpAllocations (
while (Element)
{
if ((Element->Component & Component) &&
- ((Module == NULL) || (0 == ACPI_STRCMP (Module, Element->Module))))
+ ((Module == NULL) || (0 == strcmp (Module, Element->Module))))
{
Descriptor = ACPI_CAST_PTR (ACPI_DESCRIPTOR, &Element->UserSpace);