]> granicus.if.org Git - vim/commitdiff
patch 8.2.2049: Amiga: obsolete function v8.2.2049
authorBram Moolenaar <Bram@vim.org>
Wed, 25 Nov 2020 16:00:43 +0000 (17:00 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 25 Nov 2020 16:00:43 +0000 (17:00 +0100)
Problem:    Amiga: obsolete function.
Solution:   Remove the function. (Ola Söder, closes #7374)

src/memfile.c
src/version.c

index ec65cebf3410a83984c620f434d7c6358f5c51f9..a414d9e5d63b0fe12f3a14f8f76742d6cd258559 100644 (file)
@@ -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:
index 84ea5f1a145ac580245fc3633262a11539422587..f927ac9c4759211e25244350ad64912f20d32de3 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2049,
 /**/
     2048,
 /**/