forked from len0rd/rockbox
Added #include <string.h> to memmove.c, memcpy.c and strcat.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17285 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cbd7fa40f6
commit
9c0abbf838
3 changed files with 5 additions and 5 deletions
|
@ -34,8 +34,7 @@ QUICKREF
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include <_ansi.h>
|
#include <_ansi.h>
|
||||||
#include <stddef.h>
|
#include <string.h>
|
||||||
#include <limits.h>
|
|
||||||
|
|
||||||
/* Nonzero if either X or Y is not aligned on a "long" boundary. */
|
/* Nonzero if either X or Y is not aligned on a "long" boundary. */
|
||||||
#define UNALIGNED(X, Y) \
|
#define UNALIGNED(X, Y) \
|
||||||
|
@ -47,7 +46,7 @@ QUICKREF
|
||||||
/* How many bytes are copied each iteration of the word copy loop. */
|
/* How many bytes are copied each iteration of the word copy loop. */
|
||||||
#define LITTLEBLOCKSIZE (sizeof (long))
|
#define LITTLEBLOCKSIZE (sizeof (long))
|
||||||
|
|
||||||
/* Threshhold for punting to the byte copier. */
|
/* Threshold for punting to the byte copier. */
|
||||||
#define TOO_SMALL(LEN) ((LEN) < BIGBLOCKSIZE)
|
#define TOO_SMALL(LEN) ((LEN) < BIGBLOCKSIZE)
|
||||||
|
|
||||||
_PTR
|
_PTR
|
||||||
|
|
|
@ -37,8 +37,7 @@ QUICKREF
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include <_ansi.h>
|
#include <_ansi.h>
|
||||||
#include <stddef.h>
|
#include <string.h>
|
||||||
#include <limits.h>
|
|
||||||
|
|
||||||
/* Nonzero if either X or Y is not aligned on a "long" boundary. */
|
/* Nonzero if either X or Y is not aligned on a "long" boundary. */
|
||||||
#define UNALIGNED(X, Y) \
|
#define UNALIGNED(X, Y) \
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
char *strcat(char *s1,
|
char *strcat(char *s1,
|
||||||
const char *s2)
|
const char *s2)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue