Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm_list.h
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2010-03-24 15:22:23 +1000
committerDan McGee <dan@archlinux.org>2010-03-25 21:31:37 -0500
commit526806e7acf07f625da3a2a31de94b7ca150e4b7 (patch)
tree49b903c064010ae366e5290ac050ff8f00ba3a7c /lib/libalpm/alpm_list.h
parentbf7c3eb17f4de35f6639b2f3f0c1c06a27b5242b (diff)
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.h')
-rw-r--r--lib/libalpm/alpm_list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/alpm_list.h b/lib/libalpm/alpm_list.h
index fcab3014..bd639f7d 100644
--- a/lib/libalpm/alpm_list.h
+++ b/lib/libalpm/alpm_list.h
@@ -78,7 +78,7 @@ void *alpm_list_find(const alpm_list_t *haystack, const void *needle, alpm_list_
void *alpm_list_find_ptr(const alpm_list_t *haystack, const void *needle);
char *alpm_list_find_str(const alpm_list_t *haystack, const char *needle);
alpm_list_t *alpm_list_diff(const alpm_list_t *lhs, const alpm_list_t *rhs, alpm_list_fn_cmp fn);
-void alpm_list_diff_sorted(alpm_list_t *left, alpm_list_t *right,
+void 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);
#ifdef __cplusplus