summaryrefslogtreecommitdiff
path: root/source/include/acutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/include/acutils.h')
-rw-r--r--source/include/acutils.h136
1 files changed, 0 insertions, 136 deletions
diff --git a/source/include/acutils.h b/source/include/acutils.h
index 5cd6ecf81a822..94f8591214c39 100644
--- a/source/include/acutils.h
+++ b/source/include/acutils.h
@@ -246,144 +246,8 @@ AcpiUtSubsystemShutdown (
void);
-/*
- * utclib - Local implementations of C library functions
- */
-#ifndef ACPI_USE_SYSTEM_CLIBRARY
-
-#ifdef memcmp
-#error memcmp defined!
-#endif
-
-#undef strstr
-#undef strchr
-#undef strlen
-#undef strcpy
-#undef strncpy
-#undef strncmp
-#undef strcmp
-#undef strcat
-#undef strncat
-#undef strtoul
-#undef memcmp
-#undef memcpy
-#undef memset
-#undef toupper
-#undef tolower
-#undef isxdigit
-#undef isdigit
-#undef isspace
-#undef isupper
-#undef isprint
-#undef isalpha
-
-ACPI_SIZE
-strlen (
- const char *String);
-
-char *
-strchr (
- const char *String,
- int ch);
-
-char *
-strcpy (
- char *DstString,
- const char *SrcString);
-
-char *
-strncpy (
- char *DstString,
- const char *SrcString,
- ACPI_SIZE Count);
-
-int
-strncmp (
- const char *String1,
- const char *String2,
- ACPI_SIZE Count);
-
-int
-strcmp (
- const char *String1,
- const char *String2);
-
-char *
-strcat (
- char *DstString,
- const char *SrcString);
-
-char *
-strncat (
- char *DstString,
- const char *SrcString,
- ACPI_SIZE Count);
-
-UINT32
-strtoul (
- const char *String,
- char **Terminator,
- UINT32 Base);
-
-char *
-strstr (
- char *String1,
- char *String2);
-
-int
-memcmp (
- void *Buffer1,
- void *Buffer2,
- ACPI_SIZE Count);
-
-void *
-memcpy (
- void *Dest,
- const void *Src,
- ACPI_SIZE Count);
-
-void *
-memset (
- void *Dest,
- int Value,
- ACPI_SIZE Count);
-
-int
-toupper (
- int c);
-
-int
-tolower (
- int c);
-
-
-
-extern const UINT8 _acpi_ctype[];
-
-#define _ACPI_XA 0x00 /* extra alphabetic - not supported */
-#define _ACPI_XS 0x40 /* extra space */
-#define _ACPI_BB 0x00 /* BEL, BS, etc. - not supported */
-#define _ACPI_CN 0x20 /* CR, FF, HT, NL, VT */
-#define _ACPI_DI 0x04 /* '0'-'9' */
-#define _ACPI_LO 0x02 /* 'a'-'z' */
-#define _ACPI_PU 0x10 /* punctuation */
-#define _ACPI_SP 0x08 /* space, tab, CR, LF, VT, FF */
-#define _ACPI_UP 0x01 /* 'A'-'Z' */
-#define _ACPI_XD 0x80 /* '0'-'9', 'A'-'F', 'a'-'f' */
-
-#define isdigit(c) (_acpi_ctype[(unsigned char)(c)] & (_ACPI_DI))
-#define isspace(c) (_acpi_ctype[(unsigned char)(c)] & (_ACPI_SP))
-#define isxdigit(c) (_acpi_ctype[(unsigned char)(c)] & (_ACPI_XD))
-#define isupper(c) (_acpi_ctype[(unsigned char)(c)] & (_ACPI_UP))
-#define islower(c) (_acpi_ctype[(unsigned char)(c)] & (_ACPI_LO))
-#define isprint(c) (_acpi_ctype[(unsigned char)(c)] & (_ACPI_LO | _ACPI_UP | _ACPI_DI | _ACPI_XS | _ACPI_PU))
-#define isalpha(c) (_acpi_ctype[(unsigned char)(c)] & (_ACPI_LO | _ACPI_UP))
-
-#endif /* !ACPI_USE_SYSTEM_CLIBRARY */
-
#define ACPI_IS_ASCII(c) ((c) < 0x80)
-
/*
* utcopy - Object construction and conversion interfaces
*/