summaryrefslogtreecommitdiff
path: root/source/compiler/aslerror.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/compiler/aslerror.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/compiler/aslerror.c')
-rw-r--r--source/compiler/aslerror.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/compiler/aslerror.c b/source/compiler/aslerror.c
index d033fdbfa..c9df5d884 100644
--- a/source/compiler/aslerror.c
+++ b/source/compiler/aslerror.c
@@ -633,11 +633,11 @@ AslCommonError2 (
/* Keep a copy of the extra message */
- ACPI_STRCPY (MessageBuffer, ExtraMessage);
+ strcpy (MessageBuffer, ExtraMessage);
}
LineBuffer = UtLocalCalloc (strlen (SourceLine) + 1);
- ACPI_STRCPY (LineBuffer, SourceLine);
+ strcpy (LineBuffer, SourceLine);
/* Initialize the error node */
@@ -719,7 +719,7 @@ AslCommonError (
/* Keep a copy of the extra message */
- ACPI_STRCPY (MessageBuffer, ExtraMessage);
+ strcpy (MessageBuffer, ExtraMessage);
}
/* Initialize the error node */