summaryrefslogtreecommitdiffstats
path: root/src/pacman/util.h
diff options
context:
space:
mode:
authorSimon Gomizelj <simongmzlj@gmail.com>2013-03-01 19:40:02 +0100
committerAllan McRae <allan@archlinux.org>2013-03-07 06:55:03 +0100
commitef5feb15a7403c6b7ea258927bb04c9111653669 (patch)
treef8392a42f0d27d18f6ff2c53b6cd406ec2b4359c /src/pacman/util.h
parent098cfe516d0a406ace95b12eeb5a2fecaff27a8b (diff)
downloadpacman-ef5feb15a7403c6b7ea258927bb04c9111653669.tar.gz
pacman-ef5feb15a7403c6b7ea258927bb04c9111653669.tar.xz
remove :: prefix from all message
This will substantially simplify the logic to add colours to messages. Signed-off-by: Simon Gomizelj <simongmzlj@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/pacman/util.h')
-rw-r--r--src/pacman/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pacman/util.h b/src/pacman/util.h
index 2d1e6989..f579b7ec 100644
--- a/src/pacman/util.h
+++ b/src/pacman/util.h
@@ -72,6 +72,7 @@ void print_packages(const alpm_list_t *packages);
void select_display(const alpm_list_t *pkglist);
int select_question(int count);
int multiselect_question(char *array, int count);
+int colon_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
int yesno(char *fmt, ...) __attribute__((format(printf, 1, 2)));
int noyes(char *fmt, ...) __attribute__((format(printf, 1, 2)));