scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

commit a2067550c466e32d74fa86354b63e34ee0795613
parent aa8e11d5d96615a4b3a734e8b3620b02454d2bfe
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 22 Jan 2020 06:48:07 +0100

libc: Add newline in the mem*.c files

POSIX mandates to finish text files with a newline,
otherwise is undefined behaviour.

Diffstat:
Msrc/libc/arch/amd64/memchr.c | 3+--
Msrc/libc/arch/amd64/memcmp.c | 3+--
Msrc/libc/arch/amd64/memmove.c | 3+--
Msrc/libc/arch/amd64/memset.c | 3+--
Msrc/libc/arch/arm32/memchr.c | 3+--
Msrc/libc/arch/arm32/memcmp.c | 3+--
Msrc/libc/arch/arm32/memcpy.c | 3+--
Msrc/libc/arch/arm32/memmove.c | 3+--
Msrc/libc/arch/arm32/memset.c | 3+--
Msrc/libc/arch/arm64/memchr.c | 3+--
Msrc/libc/arch/arm64/memcmp.c | 3+--
Msrc/libc/arch/arm64/memcpy.c | 3+--
Msrc/libc/arch/arm64/memmove.c | 3+--
Msrc/libc/arch/arm64/memset.c | 3+--
Msrc/libc/arch/i386/memchr.c | 3+--
Msrc/libc/arch/i386/memcmp.c | 3+--
Msrc/libc/arch/i386/memcpy.c | 3+--
Msrc/libc/arch/i386/memmove.c | 3+--
Msrc/libc/arch/i386/memset.c | 3+--
19 files changed, 19 insertions(+), 38 deletions(-)

diff --git a/src/libc/arch/amd64/memchr.c b/src/libc/arch/amd64/memchr.c @@ -1 +1 @@ -#include "../../string/memchr.c"- \ No newline at end of file +#include "../../string/memchr.c" diff --git a/src/libc/arch/amd64/memcmp.c b/src/libc/arch/amd64/memcmp.c @@ -1 +1 @@ -#include "../../string/memcmp.c"- \ No newline at end of file +#include "../../string/memcmp.c" diff --git a/src/libc/arch/amd64/memmove.c b/src/libc/arch/amd64/memmove.c @@ -1 +1 @@ -#include "../../string/memmove.c"- \ No newline at end of file +#include "../../string/memmove.c" diff --git a/src/libc/arch/amd64/memset.c b/src/libc/arch/amd64/memset.c @@ -1 +1 @@ -#include "../../string/memset.c"- \ No newline at end of file +#include "../../string/memset.c" diff --git a/src/libc/arch/arm32/memchr.c b/src/libc/arch/arm32/memchr.c @@ -1 +1 @@ -#include "../../string/memchr.c"- \ No newline at end of file +#include "../../string/memchr.c" diff --git a/src/libc/arch/arm32/memcmp.c b/src/libc/arch/arm32/memcmp.c @@ -1 +1 @@ -#include "../../string/memcmp.c"- \ No newline at end of file +#include "../../string/memcmp.c" diff --git a/src/libc/arch/arm32/memcpy.c b/src/libc/arch/arm32/memcpy.c @@ -1 +1 @@ -#include "../../string/memcpy.c"- \ No newline at end of file +#include "../../string/memcpy.c" diff --git a/src/libc/arch/arm32/memmove.c b/src/libc/arch/arm32/memmove.c @@ -1 +1 @@ -#include "../../string/memmove.c"- \ No newline at end of file +#include "../../string/memmove.c" diff --git a/src/libc/arch/arm32/memset.c b/src/libc/arch/arm32/memset.c @@ -1 +1 @@ -#include "../../string/memset.c"- \ No newline at end of file +#include "../../string/memset.c" diff --git a/src/libc/arch/arm64/memchr.c b/src/libc/arch/arm64/memchr.c @@ -1 +1 @@ -#include "../../string/memchr.c"- \ No newline at end of file +#include "../../string/memchr.c" diff --git a/src/libc/arch/arm64/memcmp.c b/src/libc/arch/arm64/memcmp.c @@ -1 +1 @@ -#include "../../string/memcmp.c"- \ No newline at end of file +#include "../../string/memcmp.c" diff --git a/src/libc/arch/arm64/memcpy.c b/src/libc/arch/arm64/memcpy.c @@ -1 +1 @@ -#include "../../string/memcpy.c"- \ No newline at end of file +#include "../../string/memcpy.c" diff --git a/src/libc/arch/arm64/memmove.c b/src/libc/arch/arm64/memmove.c @@ -1 +1 @@ -#include "../../string/memmove.c"- \ No newline at end of file +#include "../../string/memmove.c" diff --git a/src/libc/arch/arm64/memset.c b/src/libc/arch/arm64/memset.c @@ -1 +1 @@ -#include "../../string/memset.c"- \ No newline at end of file +#include "../../string/memset.c" diff --git a/src/libc/arch/i386/memchr.c b/src/libc/arch/i386/memchr.c @@ -1 +1 @@ -#include "../../string/memchr.c"- \ No newline at end of file +#include "../../string/memchr.c" diff --git a/src/libc/arch/i386/memcmp.c b/src/libc/arch/i386/memcmp.c @@ -1 +1 @@ -#include "../../string/memcmp.c"- \ No newline at end of file +#include "../../string/memcmp.c" diff --git a/src/libc/arch/i386/memcpy.c b/src/libc/arch/i386/memcpy.c @@ -1 +1 @@ -#include "../../../string/memcpy.c"- \ No newline at end of file +#include "../../../string/memcpy.c" diff --git a/src/libc/arch/i386/memmove.c b/src/libc/arch/i386/memmove.c @@ -1 +1 @@ -#include "../../string/memmove.c"- \ No newline at end of file +#include "../../string/memmove.c" diff --git a/src/libc/arch/i386/memset.c b/src/libc/arch/i386/memset.c @@ -1 +1 @@ -#include "../../string/memset.c"- \ No newline at end of file +#include "../../string/memset.c"