Use stdbool.h to define bool
authorAndrew Waterman <waterman@parcad.millennium.berkeley.edu>
Wed, 27 Jan 2010 21:46:50 +0000 (13:46 -0800)
committerAndrew Waterman <waterman@parcad.millennium.berkeley.edu>
Wed, 27 Jan 2010 21:46:50 +0000 (13:46 -0800)
kern/include/ros/common.h

index b85be8d..66cb428 100644 (file)
@@ -8,11 +8,11 @@
 #include <stddef.h>
 #include <stdint.h>
 #include <sys/types.h>
+#include <stdbool.h>
 
 typedef uintptr_t physaddr_t;
 typedef ssize_t intreg_t;
 typedef size_t uintreg_t;
-typedef int bool;
 
 #ifndef NULL
 #define NULL ((void*) 0)