summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2009-10-14 22:34:11 +0000
committerNils Wallménius <nils@rockbox.org>2009-10-14 22:34:11 +0000
commitafe08ed8b2f15157f8c2561dc81a3c7a753aeaab (patch)
tree4ed3dbba88aeb72e9a6c869496c1c7e36560cafa /apps
parenta5c1ee5cf1b12b419c28ed11df70d3d108a723f8 (diff)
downloadrockbox-afe08ed8b2f15157f8c2561dc81a3c7a753aeaab.tar.gz
rockbox-afe08ed8b2f15157f8c2561dc81a3c7a753aeaab.tar.bz2
rockbox-afe08ed8b2f15157f8c2561dc81a3c7a753aeaab.zip
Remove private memcpy wrapper that is no longer needed since r19847 and may cause issues with newer gcc versions, inspired by patch in FS#10676 by Duy Nguyen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23178 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/doom/rockdoom.c5
-rw-r--r--apps/plugins/doom/rockmacros.h3
2 files changed, 0 insertions, 8 deletions
diff --git a/apps/plugins/doom/rockdoom.c b/apps/plugins/doom/rockdoom.c
index 1d065cc981..a76c9379b3 100644
--- a/apps/plugins/doom/rockdoom.c
+++ b/apps/plugins/doom/rockdoom.c
@@ -181,11 +181,6 @@ cont:
/* NOTREACHED */
}
-inline void* memcpy(void* dst, const void* src, size_t size)
-{
- return rb->memcpy(dst, src, size);
-}
-
struct argvlist
{
int timedemo; // 1 says there's a timedemo
diff --git a/apps/plugins/doom/rockmacros.h b/apps/plugins/doom/rockmacros.h
index 1ead411b85..98f908dc1d 100644
--- a/apps/plugins/doom/rockmacros.h
+++ b/apps/plugins/doom/rockmacros.h
@@ -72,9 +72,6 @@ int my_close(int id);
#define strcat(a,b) rb->strcat((a),(b))
#define snprintf rb->snprintf
-/* Using #define isn't enough with GCC 4.0.1 */
-inline void* memcpy(void* dst, const void* src, size_t size);
-
#define PACKEDATTR __attribute__((packed)) // Needed for a few things
#define GAMEBASE ROCKBOX_DIR "/doom/"
//#define SIMPLECHECKS