summaryrefslogtreecommitdiff
path: root/lib/libalpm/provide.c
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-01-30 08:14:10 +0000
committerAaron Griffin <aaron@archlinux.org>2007-01-30 08:14:10 +0000
commitda648bc24cebcf3fff9073693871183fd95d4c92 (patch)
tree3fbea3f6f396b981f7d4bd3958d0147025d4a191 /lib/libalpm/provide.c
parent195e30e8aa1479bd10bb50de5bd34a69f0a09c9f (diff)
downloadpacman-da648bc24cebcf3fff9073693871183fd95d4c92.tar.xz
K. Piche <kevin.piche@cgi.com>
* ALPM_LOG_FUNCTION macro and all the great work to add this macro everywhere
Diffstat (limited to 'lib/libalpm/provide.c')
-rw-r--r--lib/libalpm/provide.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/provide.c b/lib/libalpm/provide.c
index 0624d057..6ddc894c 100644
--- a/lib/libalpm/provide.c
+++ b/lib/libalpm/provide.c
@@ -26,6 +26,7 @@
#include "cache.h"
#include "alpm_list.h"
#include "db.h"
+#include "log.h"
#include "provide.h"
/* return a alpm_list_t of packages in "db" that provide "package"
@@ -35,6 +36,8 @@ alpm_list_t *_alpm_db_whatprovides(pmdb_t *db, char *package)
alpm_list_t *pkgs = NULL;
alpm_list_t *lp;
+ ALPM_LOG_FUNC;
+
if(db == NULL || package == NULL || strlen(package) == 0) {
return(NULL);
}