From 7131b7ac87b9793c06d7b7e59df103658dd76ec7 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Fri, 20 Oct 2006 06:26:55 +0000 Subject: A handful of minor changes: * Removed the PMList typedef, in favor of the same naming scheme other structs use 'pmlist_t' * Added a time stamp on debug output, to make it more informational * Moved alpm_db_register to _alpm_db_register, making the public function not take a callback parameter --- lib/libalpm/package.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libalpm/package.c') diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index 77f85ab8..aa035769 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -414,12 +414,12 @@ error: return(NULL); } -/* Test for existence of a package in a PMList* +/* Test for existence of a package in a pmlist_t* * of pmpkg_t* */ -pmpkg_t *_alpm_pkg_isin(char *needle, PMList *haystack) +pmpkg_t *_alpm_pkg_isin(char *needle, pmlist_t *haystack) { - PMList *lp; + pmlist_t *lp; if(needle == NULL || haystack == NULL) { return(NULL); -- cgit v1.2.3-54-g00ecf