From 1d2dd9a128690cef754bc102605df4918a508848 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 5 Jan 2021 00:36:09 +0000 Subject: libalpm: const annotate struct pkg_operations Signed-off-by: Emil Velikov Signed-off-by: Allan McRae --- lib/libalpm/be_sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/be_sync.c') 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; -- cgit v1.2.3-24-g4f1b