diff options
author | Aaron Griffin <aaron@archlinux.org> | 2007-02-26 08:38:48 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-02-26 08:38:48 +0000 |
commit | 8fbdd03cce3c04a8208df30f435bc3e91a84ade3 (patch) | |
tree | c7ca34f17eff52f9e85d8f1b1bd3be2ecb292753 /lib/libalpm/be_files.c | |
parent | 52376150fa267f4f69af75cb9ff4a720430a5083 (diff) | |
download | pacman-8fbdd03cce3c04a8208df30f435bc3e91a84ade3.tar.xz |
* Enforce const char* params when using strings
* Unified some functions names "package" -> "pkg" for consistency
* Removed the goofy 'faketarget' stuff used for dep testing
* Renamed alpm_pkg_isin -> alpm_pkg_find
* Renamed alpm_db_readpkg -> alpm_db_get_pkg
Diffstat (limited to 'lib/libalpm/be_files.c')
-rw-r--r-- | lib/libalpm/be_files.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/be_files.c b/lib/libalpm/be_files.c index 8830ea5c..41349048 100644 --- a/lib/libalpm/be_files.c +++ b/lib/libalpm/be_files.c @@ -106,7 +106,7 @@ void _alpm_db_rewind(pmdb_t *db) rewinddir(db->handle); } -pmpkg_t *_alpm_db_scan(pmdb_t *db, char *target, pmdbinfrq_t inforeq) +pmpkg_t *_alpm_db_scan(pmdb_t *db, const char *target, pmdbinfrq_t inforeq) { struct dirent *ent = NULL; struct stat sbuf; |