summaryrefslogtreecommitdiffstats
path: root/src/pacman/callback.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-04-27 00:59:02 +0200
committerDan McGee <dan@archlinux.org>2007-04-27 00:59:02 +0200
commit6a1dfdf2928dbdecc5b0f2f8a7648e7f5ea84341 (patch)
tree6c3a5869854cc65310b5b05b365bf0c9667549ef /src/pacman/callback.h
parent7bbcaaaae90770247f72cf213498b6934d949023 (diff)
downloadpacman-6a1dfdf2928dbdecc5b0f2f8a7648e7f5ea84341.tar.gz
pacman-6a1dfdf2928dbdecc5b0f2f8a7648e7f5ea84341.tar.xz
Set the correct type on the log callback function
Somehow missed this earlier when changing everything to types. unsigned short -> pmloglevel_t wherever necessary. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/callback.h')
-rw-r--r--src/pacman/callback.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/callback.h b/src/pacman/callback.h
index bc7038d3..8494154a 100644
--- a/src/pacman/callback.h
+++ b/src/pacman/callback.h
@@ -38,7 +38,7 @@ void cb_trans_progress(pmtransprog_t event, const char *pkgname, int percent,
void cb_dl_progress(const char *filename, int xfered, int total);
/* callback to handle messages/notifications from pacman library */
-void cb_log(unsigned short level, char *msg);
+void cb_log(pmloglevel_t level, char *msg);
#endif /* _PM_CALLBACK_H */