index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-10-22 23:52:55 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-10-22 23:52:55 -0500 |
commit | 8b1fb61df26649e1dec626ef9120fc787a831fcc (patch) | |
tree | 399e6558ad5e9a4f8d283b771b1a9837254b32b7 /src/pacman/util.h | |
parent | 0c4f7d821c1cd4ce559476595e2108f75b3dde7c (diff) |
-rw-r--r-- | src/pacman/util.h | 10 |
diff --git a/src/pacman/util.h b/src/pacman/util.h index 876f8175..2814a780 100644 --- a/src/pacman/util.h +++ b/src/pacman/util.h @@ -24,20 +24,20 @@ #include <stdlib.h> #include <stdarg.h> #include <string.h> -#include <libintl.h> /* here so it doesn't need to be included elsewhere */ #include <alpm_list.h> -/* update speed for the fill_progress based functions */ -#define UPDATE_SPEED_SEC 0.2f - -/* define _() as shortcut for gettext() */ #ifdef ENABLE_NLS +#include <libintl.h> /* here so it doesn't need to be included elsewhere */ +/* define _() as shortcut for gettext() */ #define _(str) gettext(str) #else #define _(str) str #endif +/* update speed for the fill_progress based functions */ +#define UPDATE_SPEED_SEC 0.2f + int needs_transaction(); int getcols(); int makepath(const char *path); |