diff options
Diffstat (limited to 'source4/nbt_server/wins')
-rw-r--r-- | source4/nbt_server/wins/wins_ldb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/nbt_server/wins/wins_ldb.c b/source4/nbt_server/wins/wins_ldb.c index a45cf2ecf1..33c10581c3 100644 --- a/source4/nbt_server/wins/wins_ldb.c +++ b/source4/nbt_server/wins/wins_ldb.c @@ -113,7 +113,7 @@ failed: return LDB_ERR_OTHER; } -const struct ldb_module_ops ldb_wins_ldb_module_ops = { +static const struct ldb_module_ops ldb_wins_ldb_module_ops = { .name = "wins_ldb", .add = wins_ldb_verify, .modify = wins_ldb_verify, @@ -122,5 +122,6 @@ const struct ldb_module_ops ldb_wins_ldb_module_ops = { int ldb_wins_ldb_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_wins_ldb_module_ops); } |