summaryrefslogtreecommitdiff
path: root/source/compiler/dtio.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2017-09-29 17:08:30 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2017-09-29 17:08:30 +0000
commit2c673001fb88105f2d160032c4d4b76cb518e37f (patch)
tree3fc3b6aef8822267bd455907a6fce55c3f98b2ed /source/compiler/dtio.c
parent0810e26699e1b40b9384eca2137be6155de0a5ba (diff)
Notes
Diffstat (limited to 'source/compiler/dtio.c')
-rw-r--r--source/compiler/dtio.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/compiler/dtio.c b/source/compiler/dtio.c
index 0112999ef5a1..1d8ee98bfc1a 100644
--- a/source/compiler/dtio.c
+++ b/source/compiler/dtio.c
@@ -150,7 +150,6 @@
*****************************************************************************/
#include "aslcompiler.h"
-#include "dtcompiler.h"
#include "acapps.h"
#define _COMPONENT DT_COMPILER
@@ -239,7 +238,7 @@ DtTrim (
if (!strcmp (String, " "))
{
- ReturnString = UtStringCacheCalloc (1);
+ ReturnString = UtLocalCacheCalloc (1);
return (ReturnString);
}
@@ -287,7 +286,7 @@ DtTrim (
/* Create the trimmed return string */
Length = ACPI_PTR_DIFF (End, Start) + 1;
- ReturnString = UtStringCacheCalloc (Length + 1);
+ ReturnString = UtLocalCacheCalloc (Length + 1);
if (strlen (Start))
{
strncpy (ReturnString, Start, Length);