From 305414df1246531baf0f2c959c2c61df4e93c526 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Fri, 18 May 2007 00:47:47 +0200 Subject: Move cgit_get_repoinfo into shared.c This function will be usefull when parsing url arguments. Signed-off-by: Lars Hjemli --- cgit.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'cgit.c') diff --git a/cgit.c b/cgit.c index 3e7e595..431e8fb 100644 --- a/cgit.c +++ b/cgit.c @@ -11,20 +11,6 @@ const char cgit_version[] = CGIT_VERSION; -static struct repoinfo *cgit_get_repoinfo(char *url) -{ - int i; - struct repoinfo *repo; - - for (i=0; iurl, url)) - return repo; - } - return NULL; -} - - static int cgit_prepare_cache(struct cacheitem *item) { if (!cgit_query_repo) { -- cgit v1.2.1