changeset 23005:d32ffc07cc3d v8.2.2049

patch 8.2.2049: Amiga: obsolete function Commit: https://github.com/vim/vim/commit/d653293c806c8bea976737b88006264e7a8ea6d6 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Nov 25 17:00:43 2020 +0100 patch 8.2.2049: Amiga: obsolete function Problem: Amiga: obsolete function. Solution: Remove the function. (Ola S?der, closes https://github.com/vim/vim/issues/7374)
author Bram Moolenaar <Bram@vim.org>
date Wed, 25 Nov 2020 17:15:03 +0100
parents 8701c7d190a5
children 45defc2a4f64
files src/memfile.c src/version.c
diffstat 2 files changed, 2 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/src/memfile.c
+++ b/src/memfile.c
@@ -507,17 +507,6 @@ mf_free(memfile_T *mfp, bhdr_T *hp)
 	mf_ins_free(mfp, hp);	// put *hp in the free list
 }
 
-#if defined(__MORPHOS__) && defined(__libnix__)
-// function is missing in MorphOS libnix version
-extern unsigned long *__stdfiledes;
-
-    static unsigned long
-fdtofh(int filedescriptor)
-{
-    return __stdfiledes[filedescriptor];
-}
-#endif
-
 /*
  * Sync the memory file *mfp to disk.
  * Flags:
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2049,
+/**/
     2048,
 /**/
     2047,