From 6a1dfdf2928dbdecc5b0f2f8a7648e7f5ea84341 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 26 Apr 2007 18:59:02 -0400 Subject: 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 --- lib/libalpm/alpm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 1d7c0004..44c7e10f 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -70,7 +70,7 @@ typedef enum _pmloglevel_t { PM_LOG_FUNCTION = 0x10 } pmloglevel_t; -typedef void (*alpm_cb_log)(unsigned short, char *); +typedef void (*alpm_cb_log)(pmloglevel_t, char *); int alpm_logaction(char *fmt, ...); /* -- cgit v1.2.3-54-g00ecf