diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-10-15 07:59:13 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-10-15 07:59:13 +0000 |
commit | 0b0c23ff130f7445cd5cfd61bc7c8c3796d2484d (patch) | |
tree | 6b7516997ba4289ecc9d8c95c52ae8788b022065 /firmware/include | |
parent | 887ff33f2e288dc449eb9a69d4bbeb801f02d790 (diff) |
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')
-rw-r--r-- | firmware/include/stdlib.h | 2 | ||||
-rw-r--r-- | firmware/include/string.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/include/stdlib.h b/firmware/include/stdlib.h index 0074fe65e5..1f4fb88668 100644 --- a/firmware/include/stdlib.h +++ b/firmware/include/stdlib.h @@ -17,7 +17,7 @@ extern "C" { #include <stddef.h> #ifndef NULL -#define NULL 0 +#define NULL ((void*)0) #endif #define EXIT_FAILURE 1 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" { #include <stddef.h> #ifndef NULL -#define NULL 0 +#define NULL ((void*)0) #endif _PTR _EXFUN(memchr,(const _PTR, int, size_t)); |