[pacman-dev] [PATCH 2/4] Remove call to function logger

Dan McGee dan at archlinux.org
Wed May 5 06:45:49 CEST 2010


It isn't really necessary here and it helps us get rid of some link
pollution so we can have a slim vercmp binary.

Signed-off-by: Dan McGee <dan at archlinux.org>
---
 lib/libalpm/version.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/lib/libalpm/version.c b/lib/libalpm/version.c
index 1c838f4..fb327df 100644
--- a/lib/libalpm/version.c
+++ b/lib/libalpm/version.c
@@ -21,7 +21,6 @@
 #include <ctype.h>
 
 /* libalpm */
-#include "log.h"
 #include "util.h"
 
 /** Compare two version strings and determine which one is 'newer'.
@@ -50,8 +49,6 @@ int SYMEXPORT alpm_pkg_vercmp(const char *a, const char *b)
 	int isnum;
 	int ret = 0;
 
-	ALPM_LOG_FUNC;
-
 	/* libalpm added code. ensure our strings are not null */
 	if(!a) {
 		if(!b) return(0);
-- 
1.7.1



More information about the pacman-dev mailing list