summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-04-20 14:10:54 +0200
committerAndreas Schneider <asn@samba.org>2012-04-25 14:23:04 +0200
commit4cf44177ac6a898547d4e713d20e38d8ebe37d3a (patch)
treed850b6eef38396058f955361939ed989e173233f
parent37715930c29acbbd6527e7737fd3114cda6c89d2 (diff)
downloadsamba-4cf44177ac6a898547d4e713d20e38d8ebe37d3a.tar.gz
samba-4cf44177ac6a898547d4e713d20e38d8ebe37d3a.tar.bz2
samba-4cf44177ac6a898547d4e713d20e38d8ebe37d3a.zip
s3:registry: make regdb_store_keys() static
Signed-off-by: Andreas Schneider <asn@samba.org>
-rw-r--r--source3/registry/reg_backend_db.c2
-rw-r--r--source3/registry/reg_backend_db.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index 8537f40600..88e929d549 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -1340,7 +1340,7 @@ done:
return ret;
}
-bool regdb_store_keys(const char *key, struct regsubkey_ctr *ctr)
+static bool regdb_store_keys(const char *key, struct regsubkey_ctr *ctr)
{
return regdb_store_keys_internal(regdb, key, ctr);
}
diff --git a/source3/registry/reg_backend_db.h b/source3/registry/reg_backend_db.h
index 9d5ff90837..1b65bac1b1 100644
--- a/source3/registry/reg_backend_db.h
+++ b/source3/registry/reg_backend_db.h
@@ -32,7 +32,6 @@ WERROR regdb_transaction_start(void);
WERROR regdb_transaction_commit(void);
WERROR regdb_transaction_cancel(void);
int regdb_get_seqnum(void);
-bool regdb_store_keys(const char *key, struct regsubkey_ctr *ctr);
int regdb_fetch_keys(const char *key, struct regsubkey_ctr *ctr);
int regdb_fetch_values(const char* key, struct regval_ctr *values);
bool regdb_store_values(const char *key, struct regval_ctr *values);