diff options
| author | Simo Sorce <idra@samba.org> | 2009-02-25 10:02:41 -0500 |
|---|---|---|
| committer | Simo Sorce <idra@samba.org> | 2009-02-25 10:02:41 -0500 |
| commit | fd3f3e68f2e6be0196473f641f8edb41e40ca761 (patch) | |
| tree | cb9716b45ce8d439f44f76664f37431010462b8a /source4 | |
| parent | 59cc0c09d5413d1264758bef505856f5f56131e4 (diff) | |
| download | samba-fd3f3e68f2e6be0196473f641f8edb41e40ca761.tar.gz samba-fd3f3e68f2e6be0196473f641f8edb41e40ca761.tar.xz samba-fd3f3e68f2e6be0196473f641f8edb41e40ca761.zip | |
Use stdbool.h instead of manually defining bool
Diffstat (limited to 'source4')
| -rw-r--r-- | source4/lib/ldb/include/ldb.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h index eb8e0ed11e..be41151409 100644 --- a/source4/lib/ldb/include/ldb.h +++ b/source4/lib/ldb/include/ldb.h @@ -46,16 +46,7 @@ #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" |
