1
0
Fork 0
forked from len0rd/rockbox

Change lc_open_from_mem() return type to void*

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27947 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2010-08-30 20:47:26 +00:00
parent b81a116f7f
commit a1997c13c1

View file

@ -28,7 +28,7 @@
extern void *lc_open(const char *filename, char *buf, size_t buf_size); 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 /* header is always at the beginning of the blob, and handle actually points
* to the start of the blob */ * 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; (void)blob_size;
cpucache_invalidate(); cpucache_invalidate();