diff options
author | Robert Moore <Robert.Moore@intel.com> | 2015-06-09 12:11:26 -0700 |
---|---|---|
committer | Robert Moore <Robert.Moore@intel.com> | 2015-06-09 12:11:26 -0700 |
commit | 3b1026e0bdd3c32eb6d5d313f3ba0b1fee7597b4 (patch) | |
tree | 6fd238993b4555dd694426c579c109aa55966d10 /source/compiler/aslerror.c | |
parent | 960dac756bbf10e175ce79595124e084767a374a (diff) | |
download | acpica-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.c | 6 |
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 */ |