# HG changeset patch # User Bram Moolenaar # Date 1606320903 -3600 # Node ID d32ffc07cc3daef2eb19fbc874bd332629b44891 # Parent 8701c7d190a5e5968986b8531d287a8a4988bdb1 patch 8.2.2049: Amiga: obsolete function Commit: https://github.com/vim/vim/commit/d653293c806c8bea976737b88006264e7a8ea6d6 Author: Bram Moolenaar 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) diff --git a/src/memfile.c b/src/memfile.c --- 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: diff --git a/src/version.c b/src/version.c --- 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,