scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 7d016335501de5c25a3473d342190b7ab2e88283
parent 8b63549d2bedf450ed8dd6d0087216b752b0ef14
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Tue, 21 Jun 2016 20:07:59 +0200

headers: fix a few typos

Diffstat:
Mlibc/include/amd64-sysv/string.h | 4++--
Mlibc/include/i386-sysv/string.h | 4++--
Mlibc/include/qbe/string.h | 4++--
Mlibc/include/z80/string.h | 4++--
4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/libc/include/amd64-sysv/string.h b/libc/include/amd64-sysv/string.h @@ -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); @@ -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 @@ -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); @@ -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 @@ -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); @@ -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 @@ -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); @@ -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