comparison src/userfunc.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 3d6b282e2d6e
children 1a911bd57f11
comparison
equal deleted inserted replaced
16605:50115650f6c7 16606:7e733046db1d
53 53
54 #ifdef FEAT_PROFILE 54 #ifdef FEAT_PROFILE
55 static void func_do_profile(ufunc_T *fp); 55 static void func_do_profile(ufunc_T *fp);
56 static void prof_sort_list(FILE *fd, ufunc_T **sorttab, int st_len, char *title, int prefer_self); 56 static void prof_sort_list(FILE *fd, ufunc_T **sorttab, int st_len, char *title, int prefer_self);
57 static void prof_func_line(FILE *fd, int count, proftime_T *total, proftime_T *self, int prefer_self); 57 static void prof_func_line(FILE *fd, int count, proftime_T *total, proftime_T *self, int prefer_self);
58 static int 58 static int prof_total_cmp(const void *s1, const void *s2);
59 # ifdef __BORLANDC__ 59 static int prof_self_cmp(const void *s1, const void *s2);
60 _RTLENTRYF
61 # endif
62 prof_total_cmp(const void *s1, const void *s2);
63 static int
64 # ifdef __BORLANDC__
65 _RTLENTRYF
66 # endif
67 prof_self_cmp(const void *s1, const void *s2);
68 #endif 60 #endif
69 static void funccal_unref(funccall_T *fc, ufunc_T *fp, int force); 61 static void funccal_unref(funccall_T *fc, ufunc_T *fp, int force);
70 62
71 void 63 void
72 func_init() 64 func_init()
2792 2784
2793 /* 2785 /*
2794 * Compare function for total time sorting. 2786 * Compare function for total time sorting.
2795 */ 2787 */
2796 static int 2788 static int
2797 #ifdef __BORLANDC__
2798 _RTLENTRYF
2799 #endif
2800 prof_total_cmp(const void *s1, const void *s2) 2789 prof_total_cmp(const void *s1, const void *s2)
2801 { 2790 {
2802 ufunc_T *p1, *p2; 2791 ufunc_T *p1, *p2;
2803 2792
2804 p1 = *(ufunc_T **)s1; 2793 p1 = *(ufunc_T **)s1;
2808 2797
2809 /* 2798 /*
2810 * Compare function for self time sorting. 2799 * Compare function for self time sorting.
2811 */ 2800 */
2812 static int 2801 static int
2813 #ifdef __BORLANDC__
2814 _RTLENTRYF
2815 #endif
2816 prof_self_cmp(const void *s1, const void *s2) 2802 prof_self_cmp(const void *s1, const void *s2)
2817 { 2803 {
2818 ufunc_T *p1, *p2; 2804 ufunc_T *p1, *p2;
2819 2805
2820 p1 = *(ufunc_T **)s1; 2806 p1 = *(ufunc_T **)s1;