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)
diff --git a/src/userfunc.c b/src/userfunc.c
index bd7d2f7..28cf8b8 100644
--- a/src/userfunc.c
+++ b/src/userfunc.c
@@ -55,16 +55,8 @@
static void func_do_profile(ufunc_T *fp);
static void prof_sort_list(FILE *fd, ufunc_T **sorttab, int st_len, char *title, int prefer_self);
static void prof_func_line(FILE *fd, int count, proftime_T *total, proftime_T *self, int prefer_self);
-static int
-# ifdef __BORLANDC__
- _RTLENTRYF
-# endif
- prof_total_cmp(const void *s1, const void *s2);
-static int
-# ifdef __BORLANDC__
- _RTLENTRYF
-# endif
- prof_self_cmp(const void *s1, const void *s2);
+static int prof_total_cmp(const void *s1, const void *s2);
+static int prof_self_cmp(const void *s1, const void *s2);
#endif
static void funccal_unref(funccall_T *fc, ufunc_T *fp, int force);
@@ -2794,9 +2786,6 @@
* Compare function for total time sorting.
*/
static int
-#ifdef __BORLANDC__
-_RTLENTRYF
-#endif
prof_total_cmp(const void *s1, const void *s2)
{
ufunc_T *p1, *p2;
@@ -2810,9 +2799,6 @@
* Compare function for self time sorting.
*/
static int
-#ifdef __BORLANDC__
-_RTLENTRYF
-#endif
prof_self_cmp(const void *s1, const void *s2)
{
ufunc_T *p1, *p2;