[libc] [Obvious] Place entrypoints, specs alphabetically.

This commit is contained in:
cgyurgyik 2020-07-24 15:40:19 -04:00
parent 679158e662
commit 51eeeb477f
3 changed files with 28 additions and 28 deletions

View File

@ -4,16 +4,16 @@ set(TARGET_LIBC_ENTRYPOINTS
# string.h entrypoints
libc.src.string.bzero
libc.src.string.memchr
libc.src.string.memcpy
libc.src.string.memset
libc.src.string.strcpy
libc.src.string.strcat
libc.src.string.strlen
libc.src.string.memchr
libc.src.string.strchr
libc.src.string.strstr
libc.src.string.strnlen
libc.src.string.memrchr
libc.src.string.strcat
libc.src.string.strchr
libc.src.string.strcpy
libc.src.string.strlen
libc.src.string.strnlen
libc.src.string.strstr
)
set(TARGET_LIBM_ENTRYPOINTS

View File

@ -194,30 +194,30 @@ def MathAPI : PublicAPI<"math.h"> {
def StringAPI : PublicAPI<"string.h"> {
let Functions = [
"bzero",
"memchr",
"memcmp",
"memcpy",
"memmove",
"memcmp",
"memchr",
"memrchr",
"memset",
"strcpy",
"strncpy",
"strcat",
"strncat",
"strchr",
"strcmp",
"strcoll",
"strcpy",
"strcspn",
"strerror",
"strlen",
"strncat",
"strncmp",
"strxfrm",
"strchr",
"strcspn",
"strncpy",
"strnlen",
"strpbrk",
"strrchr",
"strspn",
"strstr",
"strtok",
"strerror",
"strlen",
"strnlen",
"memrchr"
"strxfrm",
];
let TypeDeclarations = [

View File

@ -21,17 +21,17 @@ set(TARGET_LIBC_ENTRYPOINTS
# string.h entrypoints
libc.src.string.bzero
libc.src.string.memcpy
libc.src.string.memset
libc.src.string.strcpy
libc.src.string.strcat
libc.src.string.strlen
libc.src.string.strcmp
libc.src.string.memchr
libc.src.string.strchr
libc.src.string.strstr
libc.src.string.strnlen
libc.src.string.memcpy
libc.src.string.memrchr
libc.src.string.memset
libc.src.string.strcat
libc.src.string.strchr
libc.src.string.strcmp
libc.src.string.strcpy
libc.src.string.strlen
libc.src.string.strnlen
libc.src.string.strstr
# sys/mman.h entrypoints
libc.src.sys.mman.mmap