Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-09-18 17:07:05 -0500
committerDan McGee <dan@archlinux.org>2011-09-18 17:11:39 -0500
commit86d9fcbfff6d806bcb6d0a19d73d09e1af4e1733 (patch)
tree7483800f1c85c9a6cedd8217b524719de6a8f222 /lib/libalpm/package.h
parent69a3558b75948e4b1592a060a58f6c1d58b7d459 (diff)
Remove const specifier from changelog_read() void parameter
This shouldn't really be declared with const, and causes a compile error when -Wcast-qual is used. Remove the const specifier from the function specification and all implementations. Also fix one other trivial -Wcast-qual warning in _alpm_db_cmp(). Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r--lib/libalpm/package.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h
index 41dd84b9..c19625c1 100644
--- a/lib/libalpm/package.h
+++ b/lib/libalpm/package.h
@@ -63,7 +63,7 @@ struct pkg_operations {
alpm_list_t *(*get_backup) (alpm_pkg_t *);
void *(*changelog_open) (alpm_pkg_t *);
- size_t (*changelog_read) (void *, size_t, const alpm_pkg_t *, const void *);
+ size_t (*changelog_read) (void *, size_t, const alpm_pkg_t *, void *);
int (*changelog_close) (const alpm_pkg_t *, void *);
int (*force_load) (alpm_pkg_t *);