comparison src/spell.c @ 16606:7e733046db1d v8.1.1306

patch 8.1.1306: Borland support is outdated and doesn't work commit https://github.com/vim/vim/commit/eae1b91fea74842000fc055afc74fe2e7934c6ee Author: Bram Moolenaar <Bram@vim.org> Date: Thu May 9 15:12:55 2019 +0200 patch 8.1.1306: Borland support is outdated and doesn't work Problem: Borland support is outdated and doesn't work. Solution: Remove Borland support, there are other (free) compilers available. (Thomas Dziedzic, Ken Takata, closes #4364)
author Bram Moolenaar <Bram@vim.org>
date Thu, 09 May 2019 15:15:07 +0200
parents 5ef25fa57f71
children b52ea9c5f1db
comparison
equal deleted inserted replaced
16605:50115650f6c7 16606:7e733046db1d
6758 stp->st_score = RESCORE(stp->st_score, stp->st_altscore); 6758 stp->st_score = RESCORE(stp->st_score, stp->st_altscore);
6759 stp->st_had_bonus = TRUE; 6759 stp->st_had_bonus = TRUE;
6760 } 6760 }
6761 } 6761 }
6762 6762
6763 static int 6763 static int sug_compare(const void *s1, const void *s2);
6764 #ifdef __BORLANDC__
6765 _RTLENTRYF
6766 #endif
6767 sug_compare(const void *s1, const void *s2);
6768 6764
6769 /* 6765 /*
6770 * Function given to qsort() to sort the suggestions on st_score. 6766 * Function given to qsort() to sort the suggestions on st_score.
6771 * First on "st_score", then "st_altscore" then alphabetically. 6767 * First on "st_score", then "st_altscore" then alphabetically.
6772 */ 6768 */
6773 static int 6769 static int
6774 #ifdef __BORLANDC__
6775 _RTLENTRYF
6776 #endif
6777 sug_compare(const void *s1, const void *s2) 6770 sug_compare(const void *s1, const void *s2)
6778 { 6771 {
6779 suggest_T *p1 = (suggest_T *)s1; 6772 suggest_T *p1 = (suggest_T *)s1;
6780 suggest_T *p2 = (suggest_T *)s2; 6773 suggest_T *p2 = (suggest_T *)s2;
6781 int n = p1->st_score - p2->st_score; 6774 int n = p1->st_score - p2->st_score;