From ea882fca0bcdffea204df2807ffe512ab7b60bec Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 24 Nov 2009 11:11:23 +0000 Subject: [PATCH] xbps-repo: make xbps_repo_addpkg_index() static. --HG-- extra : convert_revision : xtraeme%40gmail.com-20091124111123-1e8hxb9ry42oq9wr --- bin/xbps-repo/defs.h | 1 - bin/xbps-repo/index.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/xbps-repo/defs.h b/bin/xbps-repo/defs.h index 47c29e9d..a2321077 100644 --- a/bin/xbps-repo/defs.h +++ b/bin/xbps-repo/defs.h @@ -28,7 +28,6 @@ /* From index.c */ int xbps_repo_genindex(const char *); -int xbps_repo_addpkg_index(prop_dictionary_t, const char *, const char *); /* From util.c */ void show_pkg_info(prop_dictionary_t); int show_pkg_namedesc(prop_object_t, void *, bool *); diff --git a/bin/xbps-repo/index.c b/bin/xbps-repo/index.c index 4eae7b10..66475847 100644 --- a/bin/xbps-repo/index.c +++ b/bin/xbps-repo/index.c @@ -79,7 +79,7 @@ out: return dict; } -int +static int xbps_repo_addpkg_index(prop_dictionary_t idxdict, const char *filedir, const char *file) {