diff options
Diffstat (limited to 'firmware/common/memcpy.c')
-rw-r--r-- | firmware/common/memcpy.c | 5 |
1 files changed, 2 insertions, 3 deletions
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 | |||
34 | 34 | ||
35 | #include "config.h" | 35 | #include "config.h" |
36 | #include <_ansi.h> | 36 | #include <_ansi.h> |
37 | #include <stddef.h> | 37 | #include <string.h> |
38 | #include <limits.h> | ||
39 | 38 | ||
40 | /* Nonzero if either X or Y is not aligned on a "long" boundary. */ | 39 | /* Nonzero if either X or Y is not aligned on a "long" boundary. */ |
41 | #define UNALIGNED(X, Y) \ | 40 | #define UNALIGNED(X, Y) \ |
@@ -47,7 +46,7 @@ QUICKREF | |||
47 | /* How many bytes are copied each iteration of the word copy loop. */ | 46 | /* How many bytes are copied each iteration of the word copy loop. */ |
48 | #define LITTLEBLOCKSIZE (sizeof (long)) | 47 | #define LITTLEBLOCKSIZE (sizeof (long)) |
49 | 48 | ||
50 | /* Threshhold for punting to the byte copier. */ | 49 | /* Threshold for punting to the byte copier. */ |
51 | #define TOO_SMALL(LEN) ((LEN) < BIGBLOCKSIZE) | 50 | #define TOO_SMALL(LEN) ((LEN) < BIGBLOCKSIZE) |
52 | 51 | ||
53 | _PTR | 52 | _PTR |