From 45a648961b2d9d5ac4a217e783c446f14ba3a82b Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 5 Jan 2021 00:36:10 +0000 Subject: libalpm: const annotate struct db_operations Signed-off-by: Emil Velikov Signed-off-by: Allan McRae --- lib/libalpm/db.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/db.h') diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h index c642e077..bc0f8bfc 100644 --- a/lib/libalpm/db.h +++ b/lib/libalpm/db.h @@ -70,7 +70,7 @@ struct __alpm_db_t { alpm_pkghash_t *pkgcache; alpm_list_t *grpcache; alpm_list_t *servers; - struct db_operations *ops; + const struct db_operations *ops; /* bitfields for validity, local, loaded caches, etc. */ /* From _alpm_dbstatus_t */ -- cgit v1.2.3-54-g00ecf