This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=89e1881bca789a07466c4ac73681aabdc90f0601

commit 89e1881bca789a07466c4ac73681aabdc90f0601
Author: Guillem Jover <[email protected]>
AuthorDate: Wed Nov 10 01:58:39 2021 +0100

    dpkg: Mark deb_parse_conffiles() pkg argument as const
    
    Warned-by: cppcheck
    Changelog: internal
---
 src/unpack.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/unpack.c b/src/unpack.c
index 76ef72586..4b4648af9 100644
--- a/src/unpack.c
+++ b/src/unpack.c
@@ -321,7 +321,7 @@ pkg_deconfigure_others(struct pkginfo *pkg)
  * Read the conffiles, and copy the hashes across.
  */
 static void
-deb_parse_conffiles(struct pkginfo *pkg, const char *control_conffiles,
+deb_parse_conffiles(const struct pkginfo *pkg, const char *control_conffiles,
                     struct fsys_namenode_queue *newconffiles)
 {
   FILE *conff;

-- 
Dpkg.Org's dpkg

Reply via email to