diff options
Diffstat (limited to 'src/pacman/callback.h')
-rw-r--r-- | src/pacman/callback.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pacman/callback.h b/src/pacman/callback.h index 4717360f..a291fc74 100644 --- a/src/pacman/callback.h +++ b/src/pacman/callback.h @@ -41,6 +41,7 @@ void cb_dl_total(off_t total); void cb_dl_progress(const char *filename, off_t file_xfered, off_t file_total); /* callback to handle messages/notifications from pacman library */ +__attribute__((format(printf, 2, 0))) void cb_log(alpm_loglevel_t level, const char *fmt, va_list args); #endif /* _PM_CALLBACK_H */ |