From 273c5f2689c5319ce3527d140e654181ac690b58 Mon Sep 17 00:00:00 2001 From: Andrew Bettison Date: Thu, 19 Dec 2013 19:10:52 +1030 Subject: [PATCH] Make rhizome_manifest_pack_variables() static --- rhizome.h | 1 - rhizome_bundle.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/rhizome.h b/rhizome.h index 1eb9ab3f..7aeaf82c 100644 --- a/rhizome.h +++ b/rhizome.h @@ -468,7 +468,6 @@ void _rhizome_manifest_free(struct __sourceloc __whence, rhizome_manifest *m); rhizome_manifest *_rhizome_new_manifest(struct __sourceloc __whence); #define rhizome_new_manifest() _rhizome_new_manifest(__WHENCE__) -int rhizome_manifest_pack_variables(rhizome_manifest *m); int rhizome_store_bundle(rhizome_manifest *m); int rhizome_remove_file_datainvalid(sqlite_retry_state *retry, const rhizome_filehash_t *hashp); int rhizome_store_file(rhizome_manifest *m,const unsigned char *key); diff --git a/rhizome_bundle.c b/rhizome_bundle.c index 3873ce88..854903e6 100644 --- a/rhizome_bundle.c +++ b/rhizome_bundle.c @@ -949,7 +949,7 @@ void _rhizome_manifest_free(struct __sourceloc __whence, rhizome_manifest *m) /* Convert variable list into manifest text body and compute the hash. Do not sign. */ -int rhizome_manifest_pack_variables(rhizome_manifest *m) +static int rhizome_manifest_pack_variables(rhizome_manifest *m) { assert(m->var_count <= NELS(m->vars)); strbuf sb = strbuf_local((char*)m->manifestdata, sizeof m->manifestdata);