summaryrefslogtreecommitdiffstats
path: root/lib/ntdb/test/api-83-openhook.c
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2013-11-22 05:18:36 +0100
committerChristian Ambach <ambi@samba.org>2013-12-07 16:45:15 +0100
commit0f41792dc597854f0d53c25c2975f542dd812711 (patch)
tree882e6e84f52b440b75b5485207eb349feaba75f7 /lib/ntdb/test/api-83-openhook.c
parent7be0e91ddecf019bf1d7247abc16397a0f80c911 (diff)
downloadsamba-0f41792dc597854f0d53c25c2975f542dd812711.tar.gz
samba-0f41792dc597854f0d53c25c2975f542dd812711.tar.xz
samba-0f41792dc597854f0d53c25c2975f542dd812711.zip
lib/ntdb optimize includes in ntdb tests
use the private header (which will use libreplace or system headers) instead of direct includes of system includes Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Rusty Russell <rusty@samba.org>
Diffstat (limited to 'lib/ntdb/test/api-83-openhook.c')
-rw-r--r--lib/ntdb/test/api-83-openhook.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/ntdb/test/api-83-openhook.c b/lib/ntdb/test/api-83-openhook.c
index 3816eef209..d2930acf55 100644
--- a/lib/ntdb/test/api-83-openhook.c
+++ b/lib/ntdb/test/api-83-openhook.c
@@ -1,13 +1,7 @@
#include "config.h"
#include "ntdb.h"
+#include "private.h"
#include "tap-interface.h"
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <stdlib.h>
-#include <stdbool.h>
-#include <stdarg.h>
-#include <unistd.h>
#include "external-agent.h"
#include "logging.h"