summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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