diff options
author | Aaron Griffin <aaron@archlinux.org> | 2007-01-30 08:14:10 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-01-30 08:14:10 +0000 |
commit | da648bc24cebcf3fff9073693871183fd95d4c92 (patch) | |
tree | 3fbea3f6f396b981f7d4bd3958d0147025d4a191 /lib/libalpm/backup.c | |
parent | 195e30e8aa1479bd10bb50de5bd34a69f0a09c9f (diff) | |
download | pacman-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/backup.c')
-rw-r--r-- | lib/libalpm/backup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/backup.c b/lib/libalpm/backup.c index dbe6d625..3750f7db 100644 --- a/lib/libalpm/backup.c +++ b/lib/libalpm/backup.c @@ -26,6 +26,7 @@ #include <stdlib.h> #include <string.h> /* pacman */ +#include "log.h" #include "backup.h" #include "util.h" @@ -36,6 +37,8 @@ char *_alpm_needbackup(char *file, alpm_list_t *backup) { alpm_list_t *lp; + ALPM_LOG_FUNC; + if(file == NULL || backup == NULL) { return(NULL); } |