diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-01-10 16:48:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:50:03 -0500 |
commit | 4d1c5a023cf6680474bd8d8be73f576d155cfe81 (patch) | |
tree | 4d317119eca7f5f273d4027c1f08fe5665ddbd1e /source4/lib/ldb/ldb_sqlite3 | |
parent | 2b7d93265635f2e4cfc8b72f73a932d44821d371 (diff) | |
download | samba-4d1c5a023cf6680474bd8d8be73f576d155cfe81.tar.gz samba-4d1c5a023cf6680474bd8d8be73f576d155cfe81.tar.bz2 samba-4d1c5a023cf6680474bd8d8be73f576d155cfe81.zip |
r12829: fix ldb headers, to not include '<...>' files in .c files
this helps in getting symbol -fvisibility=hidden (GCC 4 feature) working later.
metze
(This used to be commit 380938e97f31c7860aed1e73cc0110c6e17b472e)
Diffstat (limited to 'source4/lib/ldb/ldb_sqlite3')
-rw-r--r-- | source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c b/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c index 2e8b88a090..4c00998fa9 100644 --- a/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c +++ b/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c @@ -33,11 +33,9 @@ * Author: Derrell Lipman (based on Andrew Tridgell's LDAP backend) */ -#include <stdarg.h> #include "includes.h" -#include "ldb/include/ldb.h" -#include "ldb/include/ldb_errors.h" -#include "ldb/include/ldb_private.h" +#include "ldb/include/includes.h" + #include "ldb/ldb_sqlite3/ldb_sqlite3.h" /* @@ -818,7 +816,7 @@ static int lsqlite3_search_bytree(struct ldb_module * module, const struct ldb_d char *norm_basedn; char *sqlfilter; char *errmsg; - char *query; + char *query = NULL; int ret, i; /* create a local ctx */ |