summaryrefslogtreecommitdiff
path: root/lib/libalpm/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/util.c')
-rw-r--r--lib/libalpm/util.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c
index 5f431171..64371348 100644
--- a/lib/libalpm/util.c
+++ b/lib/libalpm/util.c
@@ -547,7 +547,7 @@ int _alpm_str_cmp(const void *s1, const void *s2)
* @return the checksum on success, NULL on error
* @addtogroup alpm_misc
*/
-char SYMEXPORT *alpm_get_md5sum(char *filename)
+char SYMEXPORT *alpm_get_md5sum(const char *filename)
{
unsigned char output[16];
char *md5sum;
@@ -582,6 +582,4 @@ char SYMEXPORT *alpm_get_md5sum(char *filename)
return(md5sum);
}
-
-
/* vim: set ts=2 sw=2 noet: */