diff options
author | Simon Gomizelj <simongmzlj@gmail.com> | 2013-03-01 19:52:14 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-03-07 06:55:03 +0100 |
commit | ea42d03ea153a17edc792844c572f0d3d0803bd6 (patch) | |
tree | ec42f2db47c33146edca8e302beda4092487c7b2 /src/pacman/util.h | |
parent | ce5ee8a065a590564982191c76cb325ab05e04e2 (diff) | |
download | pacman-ea42d03ea153a17edc792844c572f0d3d0803bd6.tar.gz pacman-ea42d03ea153a17edc792844c572f0d3d0803bd6.tar.xz |
standardize format functions
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.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pacman/util.h b/src/pacman/util.h index f579b7ec..0a2a6f75 100644 --- a/src/pacman/util.h +++ b/src/pacman/util.h @@ -72,9 +72,9 @@ 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))); +int colon_printf(const char *format, ...) __attribute__((format(printf, 1, 2))); +int yesno(const char *format, ...) __attribute__((format(printf, 1, 2))); +int noyes(const char *format, ...) __attribute__((format(printf, 1, 2))); int pm_printf(alpm_loglevel_t level, const char *format, ...) __attribute__((format(printf,2,3))); int pm_asprintf(char **string, const char *format, ...) __attribute__((format(printf,2,3))); |