diff options
author | Allan McRae <allan@archlinux.org> | 2010-03-24 06:22:23 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-03-26 03:31:37 +0100 |
commit | 526806e7acf07f625da3a2a31de94b7ca150e4b7 (patch) | |
tree | 49b903c064010ae366e5290ac050ff8f00ba3a7c /lib/libalpm/alpm_list.c | |
parent | bf7c3eb17f4de35f6639b2f3f0c1c06a27b5242b (diff) | |
download | pacman-526806e7acf07f625da3a2a31de94b7ca150e4b7.tar.gz pacman-526806e7acf07f625da3a2a31de94b7ca150e4b7.tar.xz |
alpm_list_diff_sorted - make some arguments const
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm_list.c')
-rw-r--r-- | lib/libalpm/alpm_list.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libalpm/alpm_list.c b/lib/libalpm/alpm_list.c index 80aa558d..80ba1ee7 100644 --- a/lib/libalpm/alpm_list.c +++ b/lib/libalpm/alpm_list.c @@ -657,12 +657,12 @@ char SYMEXPORT *alpm_list_find_str(const alpm_list_t *haystack, * @param onlyright pointer to the second result list * */ -void SYMEXPORT alpm_list_diff_sorted(alpm_list_t *left, - alpm_list_t *right, alpm_list_fn_cmp fn, +void SYMEXPORT alpm_list_diff_sorted(const alpm_list_t *left, + const alpm_list_t *right, alpm_list_fn_cmp fn, alpm_list_t **onlyleft, alpm_list_t **onlyright) { - alpm_list_t *l = left; - alpm_list_t *r = right; + const alpm_list_t *l = left; + const alpm_list_t *r = right; if(!onlyleft && !onlyright) { return; |