summaryrefslogtreecommitdiff
path: root/firmware/include/string.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-10-15 07:59:13 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-10-15 07:59:13 +0000
commit0b0c23ff130f7445cd5cfd61bc7c8c3796d2484d (patch)
tree6b7516997ba4289ecc9d8c95c52ae8788b022065 /firmware/include/string.h
parent887ff33f2e288dc449eb9a69d4bbeb801f02d790 (diff)
downloadrockbox-0b0c23ff130f7445cd5cfd61bc7c8c3796d2484d.tar.gz
rockbox-0b0c23ff130f7445cd5cfd61bc7c8c3796d2484d.zip
Fix some plugins that use NULL instead of -1 when not using a voice id in struct opt_items. Change as many '#define NULL 0' to '#define NULL ((void*)0)' as grep would find - somewehere the former is still hiding it seems. :\
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15117 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/include/string.h')
-rw-r--r--firmware/include/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/include/string.h b/firmware/include/string.h
index 713a875698..32b86cd2b0 100644
--- a/firmware/include/string.h
+++ b/firmware/include/string.h
@@ -17,7 +17,7 @@ extern "C" {
17#include <stddef.h> 17#include <stddef.h>
18 18
19#ifndef NULL 19#ifndef NULL
20#define NULL 0 20#define NULL ((void*)0)
21#endif 21#endif
22 22
23_PTR _EXFUN(memchr,(const _PTR, int, size_t)); 23_PTR _EXFUN(memchr,(const _PTR, int, size_t));