From 7760f5fe60253bd9aa674c6a6688d9d07668db2e Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 25 Apr 2007 03:15:32 -0400 Subject: Remove more unnecessary stuff * Remove libintl.h from most files, as we only need to include it once in util.h where _() is defined. * Remove other unnecessary header inclusions. * Remove a macro that was only used once and replaced it with actual code. Signed-off-by: Dan McGee --- src/pacman/util.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/pacman/util.h') diff --git a/src/pacman/util.h b/src/pacman/util.h index 6eba38fe..f12ec6f1 100644 --- a/src/pacman/util.h +++ b/src/pacman/util.h @@ -23,7 +23,7 @@ #include #include -#include +#include /* here so it doesn't need to be included elsewhere */ #include @@ -49,7 +49,9 @@ /* update speed for the fill_progress based functions */ #define UPDATE_SPEED_SEC 0.2f +/* define _() as shortcut for gettext() */ #define _(str) gettext(str) + int getcols(); int makepath(char *path); int rmrf(char *path); -- cgit v1.2.3