index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-06-05 17:34:33 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-06-05 17:34:33 -0400 |
commit | f7912e9dc6be71b177d546da0f8d005e7b4af9e8 (patch) | |
tree | 14f9c7be0757de98d2325b3623eac2a45a438a16 /lib/libalpm/be_files.c | |
parent | 4906b76c85bc93c4a86dfa8449d58b55ede30425 (diff) |
-rw-r--r-- | lib/libalpm/be_files.c | 4 |
diff --git a/lib/libalpm/be_files.c b/lib/libalpm/be_files.c index b936c6b8..2cd14e15 100644 --- a/lib/libalpm/be_files.c +++ b/lib/libalpm/be_files.c @@ -715,7 +715,7 @@ int _alpm_db_remove(pmdb_t *db, pmpkg_t *info) * Returns 0 on success, 1 on error * */ -int _alpm_db_getlastupdate(pmdb_t *db, char *ts) +int _alpm_db_getlastupdate(const pmdb_t *db, char *ts) { FILE *fp; char file[PATH_MAX]; @@ -747,7 +747,7 @@ int _alpm_db_getlastupdate(pmdb_t *db, char *ts) /* writes the dbpath/.lastupdate with the contents of *ts */ -int _alpm_db_setlastupdate(pmdb_t *db, char *ts) +int _alpm_db_setlastupdate(const pmdb_t *db, char *ts) { FILE *fp; char file[PATH_MAX]; |