summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-02-21 15:51:40 +0100
committerStefan Metzmacher <metze@samba.org>2008-02-21 15:52:32 +0100
commite36b159e8c3d8b41823c09a612938cbf1b6e544b (patch)
tree48b81a1a9f1fb15ae5294b4aa774814613b4ef0d /source4/lib
parent9f4f4968317c92efee5db5b13f31cb5811c22e9f (diff)
downloadsamba-e36b159e8c3d8b41823c09a612938cbf1b6e544b.tar.gz
samba-e36b159e8c3d8b41823c09a612938cbf1b6e544b.tar.bz2
samba-e36b159e8c3d8b41823c09a612938cbf1b6e544b.zip
ldb_sqlite: fix the build
metze (This used to be commit 14c8e3101cc3b0138a551afdf3a94f4bb11bb21d)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/config.mk1
-rw-r--r--source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/source4/lib/ldb/config.mk b/source4/lib/ldb/config.mk
index 6027acd0c7..d6980f341a 100644
--- a/source4/lib/ldb/config.mk
+++ b/source4/lib/ldb/config.mk
@@ -99,7 +99,6 @@ OBJ_FILES = modules/skel.o
SUBSYSTEM = LIBLDB
CFLAGS = -Ilib/ldb/include
PRIVATE_DEPENDENCIES = LIBTALLOC SQLITE3 LIBTALLOC
-INIT_FUNCTION = &ldb_sqlite3_module_ops
OBJ_FILES = \
ldb_sqlite3/ldb_sqlite3.o
# End MODULE ldb_sqlite3
diff --git a/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c b/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
index 214e7eec5f..8742e257f3 100644
--- a/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
+++ b/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
@@ -1903,7 +1903,7 @@ failed:
return -1;
}
-_PUBLIC_ const struct ldb_backend_ops ldb_sqlite3_backend_ops = {
+const struct ldb_backend_ops ldb_sqlite3_backend_ops = {
.name = "sqlite3",
.connect_fn = lsqlite3_connect
};