ldb_mdb: Change function declaration as per README.coding
authorGarming Sam <garming@catalyst.net.nz>
Thu, 11 Apr 2019 00:53:45 +0000 (12:53 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 11 Apr 2019 04:17:11 +0000 (04:17 +0000)
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/ldb_mdb/ldb_mdb.c

index b57998c..01fa024 100644 (file)
@@ -725,7 +725,8 @@ static bool lmdb_changed(struct ldb_kv_private *ldb_kv)
  * The mdb_env_stat call returns an accurate count, so we return the actual
  * number of records in the database rather than an estimate.
  */
-static size_t lmdb_get_size(struct ldb_kv_private *ldb_kv) {
+static size_t lmdb_get_size(struct ldb_kv_private *ldb_kv)
+{
 
        struct MDB_stat stats = {0};
        struct lmdb_private *lmdb = ldb_kv->lmdb_private;