diff options
author | Oliver Kiddle <opk@zsh.org> | 2024-03-18 20:02:34 +0100 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2024-03-18 20:02:34 +0100 |
commit | 57248b88830ce56adc243a40c7773fb3825cab34 (patch) | |
tree | 3d16fe0c1751200e8efb9223665fdc80e755cff9 /Src/Zle/compcore.c | |
parent | 25182cc2e69ab1cfeeb3f0faa1d28d774393043b (diff) | |
download | zsh-57248b88830ce56adc243a40c7773fb3825cab34.tar.gz zsh-57248b88830ce56adc243a40c7773fb3825cab34.tar.xz zsh-57248b88830ce56adc243a40c7773fb3825cab34.zip |
52750: remove ansi2knr support for old pre-ansi K&R compilers
Diffstat (limited to 'Src/Zle/compcore.c')
-rw-r--r-- | Src/Zle/compcore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/compcore.c b/Src/Zle/compcore.c index 9b87cad93..09282d42d 100644 --- a/Src/Zle/compcore.c +++ b/Src/Zle/compcore.c @@ -3253,7 +3253,7 @@ makearray(LinkList l, int type, int flags, int *np, int *nlp, int *llp) /* Now sort the array (it contains matches). */ matchorder = flags; qsort((void *) rp, n, sizeof(Cmatch), - (int (*) _((const void *, const void *)))matchcmp); + (int (*) (const void *, const void *))matchcmp); /* since the matches are sorted and the default is to remove * all duplicates, -1 (remove only consecutive dupes) is a no-op, @@ -3295,7 +3295,7 @@ makearray(LinkList l, int type, int flags, int *np, int *nlp, int *llp) sp = (Cmatch *) zhalloc((n + 1) * sizeof(Cmatch)); memcpy(sp, rp, (n + 1) * sizeof(Cmatch)); qsort((void *) sp, n, sizeof(Cmatch), - (int (*) _((const void *, const void *)))matchcmp); + (int (*) (const void *, const void *))matchcmp); for (asp = sp + 1; *asp; asp++) { Cmatch *ap = asp - 1, *bp = asp; if (matcheq(*ap, *bp)) { |