diff options
author | Dan McGee <dan@archlinux.org> | 2011-10-21 17:44:19 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-10-21 17:45:18 +0200 |
commit | 9e9ecf218344cea86d6b8c6cf7cd246bcfcca98b (patch) | |
tree | 88ed783b6008148b670bb17f691aaf9d95f3bacb /src/pacman/util.h | |
parent | 45f86ca1ca712857e6f84288cf818ce5707fc345 (diff) | |
download | pacman-9e9ecf218344cea86d6b8c6cf7cd246bcfcca98b.tar.gz pacman-9e9ecf218344cea86d6b8c6cf7cd246bcfcca98b.tar.xz |
Remove pm_fprintf() in favor of pm_printf()
Now that pm_printf() always prints to stderr, we don't need this second
function that was always used with stderr as the first argument. Thus,
this patch removes the function and makes the following sed replacement:
sed -i -e 's#pm_fprintf(stderr, #pm_printf(#g' src/pacman/*.c
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/util.h')
-rw-r--r-- | src/pacman/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/util.h b/src/pacman/util.h index dc6995ca..6ec962ff 100644 --- a/src/pacman/util.h +++ b/src/pacman/util.h @@ -75,8 +75,8 @@ int select_question(int count); int multiselect_question(char *array, int count); int yesno(char *fmt, ...); int noyes(char *fmt, ...); + int pm_printf(alpm_loglevel_t level, const char *format, ...) __attribute__((format(printf,2,3))); -int pm_fprintf(FILE *stream, alpm_loglevel_t level, const char *format, ...) __attribute__((format(printf,3,4))); int pm_asprintf(char **string, const char *format, ...); int pm_vfprintf(FILE *stream, alpm_loglevel_t level, const char *format, va_list args) __attribute__((format(printf,3,0))); int pm_vasprintf(char **string, alpm_loglevel_t level, const char *format, va_list args) __attribute__((format(printf,3,0))); |