From da648bc24cebcf3fff9073693871183fd95d4c92 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Tue, 30 Jan 2007 08:14:10 +0000 Subject: K. Piche * ALPM_LOG_FUNCTION macro and all the great work to add this macro everywhere --- lib/libalpm/versioncmp.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/libalpm/versioncmp.c') diff --git a/lib/libalpm/versioncmp.c b/lib/libalpm/versioncmp.c index dffdf03d..0cc9e78c 100644 --- a/lib/libalpm/versioncmp.c +++ b/lib/libalpm/versioncmp.c @@ -158,6 +158,8 @@ int SYMEXPORT alpm_versioncmp(const char *a, const char *b) int is1num, is2num; int rc; + ALPM_LOG_FUNC; + if(!strcmp(a,b)) { return(0); } @@ -247,6 +249,8 @@ int _alpm_depcmp(pmpkg_t *pkg, pmdepend_t *dep) { int equal = 0; + ALPM_LOG_FUNC; + if(strcmp(pkg->name, dep->name) == 0 || alpm_list_find_str(pkg->provides, dep->name)) { if(dep->mod == PM_DEP_MOD_ANY) { -- cgit v1.2.3-54-g00ecf