From 21729f0ce49ce368aa40eafe42faf0df4fa89311 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Wed, 31 Jan 2007 08:10:01 +0000 Subject: * Forgot the int->enum header checkin * Removed the dep-sorting TODO item - switch the sorting to a topological sort later (I'll let Dan do the CS stuff, heh) --- lib/libalpm/deps.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/libalpm/deps.h b/lib/libalpm/deps.h index f69e1d5f..f0771f68 100644 --- a/lib/libalpm/deps.h +++ b/lib/libalpm/deps.h @@ -46,7 +46,7 @@ pmdepmissing_t *_alpm_depmiss_new(const char *target, pmdeptype_t type, pmdepmod_t depmod, const char *depname, const char *depversion); int _alpm_depmiss_isin(pmdepmissing_t *needle, alpm_list_t *haystack); -alpm_list_t *_alpm_sortbydeps(alpm_list_t *targets, int mode); +alpm_list_t *_alpm_sortbydeps(alpm_list_t *targets, pmtranstype_t mode); alpm_list_t *_alpm_checkdeps(pmtrans_t *trans, pmdb_t *db, pmtranstype_t op, alpm_list_t *packages); int _alpm_splitdep(char *depstr, pmdepend_t *depend); -- cgit v1.2.3-70-g09d2