git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
59cc0c0
)
Use stdbool.h instead of manually defining bool
author
Simo Sorce
<idra@samba.org>
Wed, 25 Feb 2009 15:02:41 +0000
(10:02 -0500)
committer
Simo Sorce
<idra@samba.org>
Wed, 25 Feb 2009 15:02:41 +0000
(10:02 -0500)
source4/lib/ldb/include/ldb.h
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/include/ldb.h
b/source4/lib/ldb/include/ldb.h
index eb8e0ed11e4309a28f7728b0a492be0377a2b1fc..be41151409a73813e3635f186c9bb6cdfc1d0eb2 100644
(file)
--- a/
source4/lib/ldb/include/ldb.h
+++ b/
source4/lib/ldb/include/ldb.h
@@
-46,16
+46,7
@@
#define _LDB_H_ 1
/*! \endcond */
#define _LDB_H_ 1
/*! \endcond */
-#ifndef bool
-typedef int bool;
-#endif
-#ifndef true
-#define true 1
-#endif
-#ifndef false
-#define false 0
-#endif
-
+#include <stdbool.h>
#include "talloc.h"
#include "tevent.h"
#include "ldb_errors.h"
#include "talloc.h"
#include "tevent.h"
#include "ldb_errors.h"