shithub: scc

Download patch

ref: aadf75311d17eec964fb6a8d1bad898e0920b101
parent: cf88732f55aca5aff3adb04b136c7274a51ec772
author: Hiltjo Posthuma <hiltjo@codemadness.org>
date: Tue Jun 21 16:07:59 EDT 2016

headers: fix a few typos

--- a/libc/include/amd64-sysv/string.h
+++ b/libc/include/amd64-sysv/string.h
@@ -14,7 +14,7 @@
 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);
@@ -30,6 +30,6 @@
 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
--- a/libc/include/i386-sysv/string.h
+++ b/libc/include/i386-sysv/string.h
@@ -14,7 +14,7 @@
 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);
@@ -30,6 +30,6 @@
 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
--- a/libc/include/qbe/string.h
+++ b/libc/include/qbe/string.h
@@ -14,7 +14,7 @@
 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);
@@ -30,6 +30,6 @@
 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
--- a/libc/include/z80/string.h
+++ b/libc/include/z80/string.h
@@ -14,7 +14,7 @@
 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);
@@ -30,6 +30,6 @@
 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