summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-10-29 01:28:13 -0500
committerDan McGee <dan@archlinux.org>2007-10-29 01:28:13 -0500
commit6cf8a5137e9e0a8fcdf5287187935ffc505a2132 (patch)
treeb8c60facb4500b8780ae978702ef8e12604b3a3a /lib/libalpm/alpm.h
parentcc754bc6e3be0f37ca0eaca4b6b90f033433fb1a (diff)
downloadpacman-6cf8a5137e9e0a8fcdf5287187935ffc505a2132.tar.xz
libalpm/delta: add const to most methods
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r--lib/libalpm/alpm.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index 2000db4a..d1de5eda 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -221,11 +221,11 @@ unsigned long alpm_pkg_download_size(pmpkg_t *newpkg, pmdb_t *db_local);
* Deltas
*/
-char *alpm_delta_get_from(pmdelta_t *delta);
-char *alpm_delta_get_to(pmdelta_t *delta);
+const char *alpm_delta_get_from(pmdelta_t *delta);
+const char *alpm_delta_get_to(pmdelta_t *delta);
unsigned long alpm_delta_get_size(pmdelta_t *delta);
-char *alpm_delta_get_filename(pmdelta_t *delta);
-char *alpm_delta_get_md5sum(pmdelta_t *delta);
+const char *alpm_delta_get_filename(pmdelta_t *delta);
+const char *alpm_delta_get_md5sum(pmdelta_t *delta);
/*
* Groups