summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-12-09 17:08:52 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-12-09 17:08:52 +0000
commitf44f0c7dd5ce3a9433d1b114da6aead1ac8b6068 (patch)
tree2372ec7e2c281b55fd2a573101869129f5df1fd2
parent5194a28430a6f69264c10b3dcc91e53f7d54f919 (diff)
downloadrtems-f44f0c7dd5ce3a9433d1b114da6aead1ac8b6068.tar.bz2
2004-12-09 Ralf Corsepius <ralf.corsepius@rtems.org>
* score/include/rtems/system.h: Don't define NULL, include <stddef.h>.
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/score/include/rtems/system.h8
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