diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2021-01-05 01:36:09 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2021-01-08 15:15:04 +0100 |
commit | 1d2dd9a128690cef754bc102605df4918a508848 (patch) | |
tree | 70c11423075035e0b7f62fdce9fcdf73e1ca8b4a /lib/libalpm/be_sync.c | |
parent | f8614d8c5be0f58db8e14092a387ff6ffbf209d7 (diff) | |
download | pacman-1d2dd9a128690cef754bc102605df4918a508848.tar.gz pacman-1d2dd9a128690cef754bc102605df4918a508848.tar.xz |
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.c | 2 |
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; |