summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/util.c
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-10-25 20:15:25 +0200
committerAaron Griffin <aaron@archlinux.org>2006-10-25 20:15:25 +0200
commite8275fa9644181e9347e983f74b28f313103b888 (patch)
tree649389331a75ded168bc08d1d12a9ddc2a92e643 /lib/libalpm/util.c
parentea9e9ae22e674f73028906db7699e3e4207d4f61 (diff)
downloadpacman-e8275fa9644181e9347e983f74b28f313103b888.tar.gz
pacman-e8275fa9644181e9347e983f74b28f313103b888.tar.xz
Moved downloaded db unpacking to the backend files, to easier allow conversion
from db to whatever format we need.
Diffstat (limited to 'lib/libalpm/util.c')
-rw-r--r--lib/libalpm/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c
index 1b7065ec..98f16406 100644
--- a/lib/libalpm/util.c
+++ b/lib/libalpm/util.c
@@ -259,7 +259,7 @@ int _alpm_lckrm(char *file)
/* Compression functions
*/
-int _alpm_unpack(char *archive, const char *prefix, const char *fn)
+int _alpm_unpack(const char *archive, const char *prefix, const char *fn)
{
register struct archive *_archive;
struct archive_entry *entry;