diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-12-09 17:08:52 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-12-09 17:08:52 +0000 |
commit | f44f0c7dd5ce3a9433d1b114da6aead1ac8b6068 (patch) | |
tree | 2372ec7e2c281b55fd2a573101869129f5df1fd2 /cpukit | |
parent | PR 730 (diff) | |
download | rtems-f44f0c7dd5ce3a9433d1b114da6aead1ac8b6068.tar.bz2 |
2004-12-09 Ralf Corsepius <ralf.corsepius@rtems.org>
* score/include/rtems/system.h: Don't define NULL, include
<stddef.h>.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/score/include/rtems/system.h | 8 |
2 files changed, 6 insertions, 7 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 16959e6bdf..413487f730 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2004-12-09 Ralf Corsepius <ralf.corsepius@rtems.org> + + * score/include/rtems/system.h: Don't define NULL, include + <stddef.h>. + 2004-12-03 Ralf Corsepius <ralf.corsepius@rtems.org> * libnetworking/net/if_ethersubr.c, diff --git a/cpukit/score/include/rtems/system.h b/cpukit/score/include/rtems/system.h index bef06db7a1..8b21dd17c2 100644 --- a/cpukit/score/include/rtems/system.h +++ b/cpukit/score/include/rtems/system.h @@ -124,13 +124,7 @@ int POSIX_BOTTOM_REACHED( void ); typedef void * proc_ptr; -/* - * Define NULL - */ - -#ifndef NULL -#define NULL 0 /* NULL value */ -#endif +#include <stddef.h> /* * Boolean constants |