diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2015-06-16 19:48:16 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2015-06-16 19:48:16 +0000 |
commit | 8811b910b092027f905013bced1da3e87c6b07b9 (patch) | |
tree | b0c56a23f2d8877b9431deb3cab73df3c1913fb7 /source/compiler/dtutils.c | |
parent | 0c85196b0c51b4e5eba8fcace026f947f9112c9e (diff) |
Notes
Diffstat (limited to 'source/compiler/dtutils.c')
-rw-r--r-- | source/compiler/dtutils.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/compiler/dtutils.c b/source/compiler/dtutils.c index 5b88d117e477..51068ed7ba32 100644 --- a/source/compiler/dtutils.c +++ b/source/compiler/dtutils.c @@ -241,7 +241,7 @@ DtStrtoul64 ( while (*ThisChar) { - if (ACPI_IS_DIGIT (*ThisChar)) + if (isdigit (*ThisChar)) { /* Convert ASCII 0-9 to Decimal value */ @@ -249,8 +249,8 @@ DtStrtoul64 ( } else /* Letter */ { - ThisDigit = (UINT32) ACPI_TOUPPER (*ThisChar); - if (!ACPI_IS_XDIGIT ((char) ThisDigit)) + ThisDigit = (UINT32) toupper (*ThisChar); + if (!isxdigit ((char) ThisDigit)) { /* Not A-F */ @@ -568,7 +568,7 @@ DtGetFieldLength ( Value = DtGetFieldValue (Field); if (Value) { - ByteLength = ACPI_STRLEN (Value) + 1; + ByteLength = strlen (Value) + 1; } else { /* At this point, this is a fatal error */ @@ -633,7 +633,7 @@ DtGetFieldLength ( /* TBD: error if Value is NULL? (as below?) */ - ByteLength = (ACPI_STRLEN (Value) + 1) * sizeof(UINT16); + ByteLength = (strlen (Value) + 1) * sizeof(UINT16); break; default: |