Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.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/alpm.h
parent6735807c0f5ec5464f2977da96b8981e2321940a (diff)
Mark log callback format string const
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r--lib/libalpm/alpm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index 7fec293d..8e1e022a 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -74,8 +74,8 @@ typedef enum _pmloglevel_t {
PM_LOG_FUNCTION = (1 << 3)
} pmloglevel_t;
-typedef void (*alpm_cb_log)(pmloglevel_t, char *, va_list);
-int alpm_logaction(char *fmt, ...);
+typedef void (*alpm_cb_log)(pmloglevel_t, const char *, va_list);
+int alpm_logaction(const char *fmt, ...);
/*
* Downloading