diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-08-12 13:55:01 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-08-12 13:55:01 +0000 |
commit | 87409a2619957e8756fa5ba47f9f67baec7ead82 (patch) | |
tree | 2f142b8b24dbc496db1007f20f2d695a8848ea6c /firmware/common/memset16.c | |
parent | 0e2286f226c8ce66adb846995eb1bf0b4d92a649 (diff) | |
download | rockbox-87409a2619957e8756fa5ba47f9f67baec7ead82.tar.gz rockbox-87409a2619957e8756fa5ba47f9f67baec7ead82.zip |
Move memset6() declaration to string-extra.h, kills a warning compiling for android since it ships a memory.h.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27789 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common/memset16.c')
-rw-r--r-- | firmware/common/memset16.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/common/memset16.c b/firmware/common/memset16.c index c90e2d7340..7e31df0cdd 100644 --- a/firmware/common/memset16.c +++ b/firmware/common/memset16.c | |||
@@ -19,8 +19,7 @@ | |||
19 | * | 19 | * |
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | 21 | ||
22 | #include <string.h> | 22 | #include "string-extra.h" /* memset16() */ |
23 | #include "memory.h" | ||
24 | 23 | ||
25 | #define LBLOCKSIZE (sizeof(long)/2) | 24 | #define LBLOCKSIZE (sizeof(long)/2) |
26 | #define UNALIGNED(X) ((long)X & (sizeof(long) - 1)) | 25 | #define UNALIGNED(X) ((long)X & (sizeof(long) - 1)) |