summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-08-27 18:10:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:02:54 -0500
commit61ffa08f4c95e29d301de9fbabd6e71c2dbc1056 (patch)
tree5639bb3b7628532080737e4e1b1ff0b835ee4977 /source4/include
parent4fb038b0b8e7a4bb69ac0d9022684eeaca8a491a (diff)
downloadsamba-61ffa08f4c95e29d301de9fbabd6e71c2dbc1056.tar.gz
samba-61ffa08f4c95e29d301de9fbabd6e71c2dbc1056.tar.bz2
samba-61ffa08f4c95e29d301de9fbabd6e71c2dbc1056.zip
r24712: No longer expose the 'BOOL' data type in any interfaces.
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/core.h5
-rw-r--r--source4/include/includes.h6
2 files changed, 6 insertions, 5 deletions
diff --git a/source4/include/core.h b/source4/include/core.h
index 20bf7c3def..a31b4c59c7 100644
--- a/source4/include/core.h
+++ b/source4/include/core.h
@@ -25,12 +25,7 @@
#include "libcli/util/nt_status.h"
-#include <stdbool.h>
#include <stdlib.h>
-typedef bool BOOL;
-
-#define False false
-#define True true
/* used to hold an arbitrary blob of data */
typedef struct datablob {
diff --git a/source4/include/includes.h b/source4/include/includes.h
index 54f6fe9385..ac6204921c 100644
--- a/source4/include/includes.h
+++ b/source4/include/includes.h
@@ -111,11 +111,17 @@
/* Lists, trees, caching, database... */
#include "talloc/talloc.h"
#include "core.h"
+#include <stdbool.h>
#include "charset/charset.h"
#include "util/util.h"
#include "param/param.h"
#include "librpc/gen_ndr/misc.h"
+typedef bool BOOL;
+
+#define False false
+#define True true
+
struct smbcli_tree;
#include "libcli/util/error.h"