summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-03-18 14:29:13 +0100
committerStefan Metzmacher <metze@samba.org>2008-03-18 15:59:21 +0100
commit92f6333535a57c034e2ceb3305b420c921a48094 (patch)
tree474f2deed81dcd2f305009314d57e08e09500b81 /source4/lib/ldb/tests
parent5b35e551300419d75b2405ba76bff8e7ec5a01af (diff)
downloadsamba-92f6333535a57c034e2ceb3305b420c921a48094.tar.gz
samba-92f6333535a57c034e2ceb3305b420c921a48094.tar.bz2
samba-92f6333535a57c034e2ceb3305b420c921a48094.zip
ldb: fix the standalone build
metze (This used to be commit 91b49365abed6f67e2b3c18b0090b4e6ff1df935)
Diffstat (limited to 'source4/lib/ldb/tests')
-rw-r--r--source4/lib/ldb/tests/sample_module.c2
-rwxr-xr-xsource4/lib/ldb/tests/test-soloading.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/tests/sample_module.c b/source4/lib/ldb/tests/sample_module.c
index 98d8e865dd..1a9e72c907 100644
--- a/source4/lib/ldb/tests/sample_module.c
+++ b/source4/lib/ldb/tests/sample_module.c
@@ -32,7 +32,7 @@ int sample_add(struct ldb_module *mod, struct ldb_request *req)
return ldb_next_request(mod, req);
}
-_PUBLIC_ const struct ldb_module_ops ldb_sample_module_ops = {
+const struct ldb_module_ops ldb_sample_module_ops = {
.name = "sample",
.add = sample_add,
};
diff --git a/source4/lib/ldb/tests/test-soloading.sh b/source4/lib/ldb/tests/test-soloading.sh
index c42c9b22ba..da6d57541e 100755
--- a/source4/lib/ldb/tests/test-soloading.sh
+++ b/source4/lib/ldb/tests/test-soloading.sh
@@ -19,7 +19,7 @@ fi
cat <<EOF | $VALGRIND ldbadd || exit 1
dn: @MODULES
-@LIST: sample_module
+@LIST: sample
EOF
cat <<EOF | $VALGRIND ldbadd || exit 1