summaryrefslogtreecommitdiff
path: root/lib/libalpm/log.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-02-24 09:38:59 -0600
committerDan McGee <dan@archlinux.org>2011-02-24 09:38:59 -0600
commit7c14e48776cf82b521cc8b7dad05892a81b8659b (patch)
treea00eca308169141c7b0266979ffe4c4c303cdb8c /lib/libalpm/log.h
parent6735807c0f5ec5464f2977da96b8981e2321940a (diff)
downloadpacman-7c14e48776cf82b521cc8b7dad05892a81b8659b.tar.xz
Mark log callback format string const
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/log.h')
-rw-r--r--lib/libalpm/log.h2
1 files changed, 1 insertions, 1 deletions
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 */