[hackers] [scc] headers: fix a few typos || Hiltjo Posthuma
commit 7d016335501de5c25a3473d342190b7ab2e88283
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
AuthorDate: Tue Jun 21 20:07:59 2016 +0200
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
CommitDate: Tue Jun 21 20:07:59 2016 +0200
headers: fix a few typos
diff --git a/libc/include/amd64-sysv/string.h b/libc/include/amd64-sysv/string.h
index 5bbac19..bd50063 100644
--- a/libc/include/amd64-sysv/string.h
+++ b/libc/include/amd64-sysv/string.h
_AT_@ -14,7 +14,7 @@ extern char *strcpy(char *dst, const char *src);
extern char *strncpy(char *dst, const char *src, size_t n);
extern char *strcat(char *dst, const char *src);
extern char *strncat(char *dst, const char *src, size_t n);
-extern size_t strxfrm(char *dst, const *char *src, size_t n);
+extern size_t strxfrm(char *dst, const char *src, size_t n);
extern size_t strlen(const char *s);
extern int strcmp(const char *s1, const char *s2);
extern int strcoll(const char *s1, const char *s2);
_AT_@ -30,6 +30,6 @@ extern void *memset(void *s, int c, size_t n);
extern void *memcpy(void *dst, const void *src, size_t n);
extern void *memmove(void *dst, const void *src, size_t n);
extern int memcmp(const void *s1, const void *s2, size_t n);
-extern coid *memchr(const void *s, int c, size_t n);
+extern void *memchr(const void *s, int c, size_t n);
#endif
diff --git a/libc/include/i386-sysv/string.h b/libc/include/i386-sysv/string.h
index 5bbac19..bd50063 100644
--- a/libc/include/i386-sysv/string.h
+++ b/libc/include/i386-sysv/string.h
_AT_@ -14,7 +14,7 @@ extern char *strcpy(char *dst, const char *src);
extern char *strncpy(char *dst, const char *src, size_t n);
extern char *strcat(char *dst, const char *src);
extern char *strncat(char *dst, const char *src, size_t n);
-extern size_t strxfrm(char *dst, const *char *src, size_t n);
+extern size_t strxfrm(char *dst, const char *src, size_t n);
extern size_t strlen(const char *s);
extern int strcmp(const char *s1, const char *s2);
extern int strcoll(const char *s1, const char *s2);
_AT_@ -30,6 +30,6 @@ extern void *memset(void *s, int c, size_t n);
extern void *memcpy(void *dst, const void *src, size_t n);
extern void *memmove(void *dst, const void *src, size_t n);
extern int memcmp(const void *s1, const void *s2, size_t n);
-extern coid *memchr(const void *s, int c, size_t n);
+extern void *memchr(const void *s, int c, size_t n);
#endif
diff --git a/libc/include/qbe/string.h b/libc/include/qbe/string.h
index 5bbac19..bd50063 100644
--- a/libc/include/qbe/string.h
+++ b/libc/include/qbe/string.h
_AT_@ -14,7 +14,7 @@ extern char *strcpy(char *dst, const char *src);
extern char *strncpy(char *dst, const char *src, size_t n);
extern char *strcat(char *dst, const char *src);
extern char *strncat(char *dst, const char *src, size_t n);
-extern size_t strxfrm(char *dst, const *char *src, size_t n);
+extern size_t strxfrm(char *dst, const char *src, size_t n);
extern size_t strlen(const char *s);
extern int strcmp(const char *s1, const char *s2);
extern int strcoll(const char *s1, const char *s2);
_AT_@ -30,6 +30,6 @@ extern void *memset(void *s, int c, size_t n);
extern void *memcpy(void *dst, const void *src, size_t n);
extern void *memmove(void *dst, const void *src, size_t n);
extern int memcmp(const void *s1, const void *s2, size_t n);
-extern coid *memchr(const void *s, int c, size_t n);
+extern void *memchr(const void *s, int c, size_t n);
#endif
diff --git a/libc/include/z80/string.h b/libc/include/z80/string.h
index 5bbac19..bd50063 100644
--- a/libc/include/z80/string.h
+++ b/libc/include/z80/string.h
_AT_@ -14,7 +14,7 @@ extern char *strcpy(char *dst, const char *src);
extern char *strncpy(char *dst, const char *src, size_t n);
extern char *strcat(char *dst, const char *src);
extern char *strncat(char *dst, const char *src, size_t n);
-extern size_t strxfrm(char *dst, const *char *src, size_t n);
+extern size_t strxfrm(char *dst, const char *src, size_t n);
extern size_t strlen(const char *s);
extern int strcmp(const char *s1, const char *s2);
extern int strcoll(const char *s1, const char *s2);
_AT_@ -30,6 +30,6 @@ extern void *memset(void *s, int c, size_t n);
extern void *memcpy(void *dst, const void *src, size_t n);
extern void *memmove(void *dst, const void *src, size_t n);
extern int memcmp(const void *s1, const void *s2, size_t n);
-extern coid *memchr(const void *s, int c, size_t n);
+extern void *memchr(const void *s, int c, size_t n);
#endif
Received on Tue Jun 21 2016 - 20:08:21 CEST
This archive was generated by hypermail 2.3.0
: Tue Jun 21 2016 - 20:12:15 CEST