The following commit has been merged in the master branch:
commit fad96a45552d4c0cca3ae141f385536048d9a75c
Author: Guillem Jover <guil...@debian.org>
Date:   Sat Jul 17 18:30:41 2010 +0200

    libdpkg: Make pkginfo argument const in pkg_summary()

diff --git a/lib/dpkg/pkg-show.c b/lib/dpkg/pkg-show.c
index 7101153..3510b8b 100644
--- a/lib/dpkg/pkg-show.c
+++ b/lib/dpkg/pkg-show.c
@@ -30,7 +30,7 @@
 #include <dpkg/pkg-show.h>
 
 const char *
-pkg_summary(struct pkginfo *pkg, int *len_ret)
+pkg_summary(const struct pkginfo *pkg, int *len_ret)
 {
        const char *pdesc;
        size_t len;
diff --git a/lib/dpkg/pkg-show.h b/lib/dpkg/pkg-show.h
index 4d56091..6816e39 100644
--- a/lib/dpkg/pkg-show.h
+++ b/lib/dpkg/pkg-show.h
@@ -26,7 +26,7 @@
 
 DPKG_BEGIN_DECLS
 
-const char *pkg_summary(struct pkginfo *pkg, int *len_ret);
+const char *pkg_summary(const struct pkginfo *pkg, int *len_ret);
 
 DPKG_END_DECLS
 

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to