diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2010-12-25 21:41:40 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2010-12-25 21:41:40 +0200 |
commit | ca298b87ce3da706ba7f4854c978b32936fe5b41 (patch) | |
tree | cafb01a4e9a3ee3784d72a44f63eee3e11d8e972 /awkgram.c | |
parent | 548860a1ea062487312538d31026c5801d294860 (diff) | |
download | egawk-ca298b87ce3da706ba7f4854c978b32936fe5b41.tar.gz egawk-ca298b87ce3da706ba7f4854c978b32936fe5b41.tar.bz2 egawk-ca298b87ce3da706ba7f4854c978b32936fe5b41.zip |
Some fixes for z/OS and also Autoconf.
Diffstat (limited to 'awkgram.c')
-rw-r--r-- | awkgram.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4459,7 +4459,7 @@ struct token { /* tokcompare --- lexicographically compare token names for sorting */ static int -tokcompare(void *l, void *r) +tokcompare(const void *l, const void *r) { struct token *lhs, *rhs; @@ -8504,7 +8504,8 @@ check_special(const char *name) static int did_sort = FALSE; if (! did_sort) { - qsort(tokentab, sizeof(tokentab) / sizeof(tokentab[0]), + qsort((void *) tokentab, + sizeof(tokentab) / sizeof(tokentab[0]), sizeof(tokentab[0]), tokcompare); did_sort = TRUE; } |