From 9c0abbf838d1d88c406dbf80c3b3f36fb7b76c39 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Mon, 28 Apr 2008 20:39:44 +0000 Subject: Added #include to memmove.c, memcpy.c and strcat.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17285 a1c6a512-1295-4272-9138-f99709370657 --- firmware/common/memcpy.c | 5 ++--- firmware/common/memmove.c | 3 +-- firmware/common/strcat.c | 2 ++ 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'firmware') diff --git a/firmware/common/memcpy.c b/firmware/common/memcpy.c index e9b8e82bdd..b77f27379d 100644 --- a/firmware/common/memcpy.c +++ b/firmware/common/memcpy.c @@ -34,8 +34,7 @@ QUICKREF #include "config.h" #include <_ansi.h> -#include -#include +#include /* Nonzero if either X or Y is not aligned on a "long" boundary. */ #define UNALIGNED(X, Y) \ @@ -47,7 +46,7 @@ QUICKREF /* How many bytes are copied each iteration of the word copy loop. */ #define LITTLEBLOCKSIZE (sizeof (long)) -/* Threshhold for punting to the byte copier. */ +/* Threshold for punting to the byte copier. */ #define TOO_SMALL(LEN) ((LEN) < BIGBLOCKSIZE) _PTR diff --git a/firmware/common/memmove.c b/firmware/common/memmove.c index 761e9eb104..599cbc9c01 100644 --- a/firmware/common/memmove.c +++ b/firmware/common/memmove.c @@ -37,8 +37,7 @@ QUICKREF #include "config.h" #include <_ansi.h> -#include -#include +#include /* Nonzero if either X or Y is not aligned on a "long" boundary. */ #define UNALIGNED(X, Y) \ diff --git a/firmware/common/strcat.c b/firmware/common/strcat.c index e3366d7405..221529519c 100644 --- a/firmware/common/strcat.c +++ b/firmware/common/strcat.c @@ -1,3 +1,5 @@ +#include + char *strcat(char *s1, const char *s2) { -- cgit v1.2.3