From 7c14e48776cf82b521cc8b7dad05892a81b8659b Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 24 Feb 2011 09:38:59 -0600 Subject: Mark log callback format string const Signed-off-by: Dan McGee --- lib/libalpm/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/log.h') diff --git a/lib/libalpm/log.h b/lib/libalpm/log.h index 5ce08e45..9a2961fb 100644 --- a/lib/libalpm/log.h +++ b/lib/libalpm/log.h @@ -29,7 +29,7 @@ #define ALPM_LOG_FUNC #endif -void _alpm_log(pmloglevel_t flag, char *fmt, ...) __attribute__((format(printf,2,3))); +void _alpm_log(pmloglevel_t flag, const char *fmt, ...) __attribute__((format(printf,2,3))); #endif /* _ALPM_LOG_H */ -- cgit v1.2.3-24-g4f1b