diff options
author | Aaron Griffin <aaron@archlinux.org> | 2007-02-26 09:38:48 +0100 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-02-26 09:38:48 +0100 |
commit | 8fbdd03cce3c04a8208df30f435bc3e91a84ade3 (patch) | |
tree | c7ca34f17eff52f9e85d8f1b1bd3be2ecb292753 /lib/libalpm/provide.c | |
parent | 52376150fa267f4f69af75cb9ff4a720430a5083 (diff) | |
download | pacman-8fbdd03cce3c04a8208df30f435bc3e91a84ade3.tar.gz 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/provide.c')
-rw-r--r-- | lib/libalpm/provide.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/provide.c b/lib/libalpm/provide.c index 6ddc894c..dce1c267 100644 --- a/lib/libalpm/provide.c +++ b/lib/libalpm/provide.c @@ -31,7 +31,7 @@ /* return a alpm_list_t of packages in "db" that provide "package" */ -alpm_list_t *_alpm_db_whatprovides(pmdb_t *db, char *package) +alpm_list_t *_alpm_db_whatprovides(pmdb_t *db, const char *package) { alpm_list_t *pkgs = NULL; alpm_list_t *lp; |