9
0
Fork 0

stddef: introduce true/false enum

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2010-08-04 08:14:33 +02:00 committed by Sascha Hauer
parent 7b2c0d1595
commit 80758d4083
2 changed files with 5 additions and 3 deletions

View File

@ -8,6 +8,11 @@
#define NULL ((void *)0)
#endif
enum {
false = 0,
true = 1
};
#ifndef _SIZE_T
#include <linux/types.h>
#endif

View File

@ -97,9 +97,6 @@ typedef struct {
#endif
} connection_info_t;
#define false 0
#define true 1
#endif