Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/be_sync.c
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2021-01-05 00:36:09 +0000
committerAllan McRae <allan@archlinux.org>2021-01-09 00:15:04 +1000
commit1d2dd9a128690cef754bc102605df4918a508848 (patch)
tree70c11423075035e0b7f62fdce9fcdf73e1ca8b4a /lib/libalpm/be_sync.c
parentf8614d8c5be0f58db8e14092a387ff6ffbf209d7 (diff)
libalpm: const annotate struct pkg_operations
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/be_sync.c')
-rw-r--r--lib/libalpm/be_sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/be_sync.c b/lib/libalpm/be_sync.c
index 37000dec..0a5cb7c2 100644
--- a/lib/libalpm/be_sync.c
+++ b/lib/libalpm/be_sync.c
@@ -285,7 +285,7 @@ static int _sync_get_validation(alpm_pkg_t *pkg)
* because we want to reuse the majority of the default_pkg_ops struct and
* add only a few operations of our own on top.
*/
-static struct pkg_operations *get_sync_pkg_ops(void)
+static const struct pkg_operations *get_sync_pkg_ops(void)
{
static struct pkg_operations sync_pkg_ops;
static int sync_pkg_ops_initalized = 0;