summaryrefslogtreecommitdiff
path: root/lib/libalpm/md5.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-08-20 12:55:38 -0400
committerDan McGee <dan@archlinux.org>2007-08-20 12:58:17 -0400
commit942175feaa866c4e536a7da0f77ab54de98b6c07 (patch)
treedb190135ad82672a1b0dc3328500ce49c5dd0023 /lib/libalpm/md5.h
parent3acbf56bbab128d8ef037a7dcc87d91fe7354d14 (diff)
downloadpacman-942175feaa866c4e536a7da0f77ab54de98b6c07.tar.xz
Add const qualifier to md5_file and alpm_get_md5sum
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/md5.h')
-rw-r--r--lib/libalpm/md5.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/md5.h b/lib/libalpm/md5.h
index d652c2e4..7af70749 100644
--- a/lib/libalpm/md5.h
+++ b/lib/libalpm/md5.h
@@ -82,7 +82,7 @@ void md5( unsigned char *input, int ilen,
* \return 0 if successful, 1 if fopen failed,
* or 2 if fread failed
*/
-int md5_file( char *path, unsigned char *output );
+int md5_file( const char *path, unsigned char *output );
#ifdef __cplusplus
}