changeset 2110:0f8d9716a2bb

. Use the standard (C99) header <stdbool.h> rather than defining bool, true and false locally.
author Greg Lewis <glewis@eyesbeyond.com>
date Sun, 23 Jan 2011 22:20:57 -0800
parents f74ef06f34d0
children aca9fccf1724
files src/os/bsd/vm/jsig.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/os/bsd/vm/jsig.c	Sun Jan 23 13:53:36 2011 -0800
+++ b/src/os/bsd/vm/jsig.c	Sun Jan 23 22:20:57 2011 -0800
@@ -35,10 +35,7 @@
 #include <pthread.h>
 #include <stdio.h>
 #include <stdlib.h>
-
-#define bool int
-#define true 1
-#define false 0
+#include <stdbool.h>
 
 #define MAXSIGNUM 32
 #define MASK(sig) ((unsigned int)1 << sig)