summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-08-30 20:47:26 +0000
committerThomas Martitz <kugel@rockbox.org>2010-08-30 20:47:26 +0000
commita1997c13c168beeb41bf2f5b814115cdd5cb574c (patch)
treebbc5913d63e4c658b7de4cea744e8c779f7d42a9
parentb81a116f7fc77b5b67e41bb5d378c8086677e5cb (diff)
downloadrockbox-a1997c13c168beeb41bf2f5b814115cdd5cb574c.tar.gz
rockbox-a1997c13c168beeb41bf2f5b814115cdd5cb574c.zip
Change lc_open_from_mem() return type to void*
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27947 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/load_code.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/load_code.h b/firmware/export/load_code.h
index e37af786df..6f5e5d0842 100644
--- a/firmware/export/load_code.h
+++ b/firmware/export/load_code.h
@@ -28,7 +28,7 @@
extern void *lc_open(const char *filename, char *buf, size_t buf_size);
/* header is always at the beginning of the blob, and handle actually points
* to the start of the blob */
-static inline char *lc_open_from_mem(void* addr, size_t blob_size)
+static inline void *lc_open_from_mem(void* addr, size_t blob_size)
{
(void)blob_size;
cpucache_invalidate();