Re: [pacman-dev] [PATCH 1/2] libalpm: const annotate struct pkg_operations

2020-12-23 Thread Allan McRae
On 24/12/20 8:41 am, Emil Velikov wrote: > Signed-off-by: Emil Velikov > --- This patch does a lot more than just add const annotations. And it looks to me like the extra bit needs justification, so separate patch please. > lib/libalpm/be_local.c | 2 +- > lib/libalpm/be_package.c | 2 +-

[pacman-dev] [PATCH 1/2] libalpm: const annotate struct pkg_operations

2020-12-23 Thread Emil Velikov
Signed-off-by: Emil Velikov --- lib/libalpm/be_local.c | 2 +- lib/libalpm/be_package.c | 2 +- lib/libalpm/be_sync.c| 20 ++-- lib/libalpm/package.c| 2 +- lib/libalpm/package.h| 4 ++-- 5 files changed, 23 insertions(+), 7 deletions(-) diff --git