summaryrefslogtreecommitdiff
path: root/lib/libalpm/delta.c
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/delta.c
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/delta.c')
-rw-r--r--lib/libalpm/delta.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libalpm/delta.c b/lib/libalpm/delta.c
index 626ffb31..0e9dcc39 100644
--- a/lib/libalpm/delta.c
+++ b/lib/libalpm/delta.c
@@ -37,7 +37,7 @@
* @{
*/
-char SYMEXPORT *alpm_delta_get_from(pmdelta_t *delta)
+const char SYMEXPORT *alpm_delta_get_from(pmdelta_t *delta)
{
ALPM_LOG_FUNC;
@@ -47,7 +47,7 @@ char SYMEXPORT *alpm_delta_get_from(pmdelta_t *delta)
return(delta->from);
}
-char SYMEXPORT *alpm_delta_get_to(pmdelta_t *delta)
+const char SYMEXPORT *alpm_delta_get_to(pmdelta_t *delta)
{
ALPM_LOG_FUNC;
@@ -67,7 +67,7 @@ unsigned long SYMEXPORT alpm_delta_get_size(pmdelta_t *delta)
return(delta->size);
}
-char SYMEXPORT *alpm_delta_get_filename(pmdelta_t *delta)
+const char SYMEXPORT *alpm_delta_get_filename(pmdelta_t *delta)
{
ALPM_LOG_FUNC;
@@ -77,7 +77,7 @@ char SYMEXPORT *alpm_delta_get_filename(pmdelta_t *delta)
return(delta->filename);
}
-char SYMEXPORT *alpm_delta_get_md5sum(pmdelta_t *delta)
+const char SYMEXPORT *alpm_delta_get_md5sum(pmdelta_t *delta)
{
ALPM_LOG_FUNC;