diff src/term.c @ 27684:1761cc771623 v8.2.4368

patch 8.2.4368: Amiga: a few compiler warnings Commit: https://github.com/vim/vim/commit/e131496ebf714f5f12f9903d9aa910bcd8184460 Author: ola.soder@axis.com <ola.soder@axis.com> Date: Sun Feb 13 12:13:38 2022 +0000 patch 8.2.4368: Amiga: a few compiler warnings Problem: Amiga: a few compiler warnings. Solution: Adjust #ifdefs. Add "UNUSED". (Ola S?der, closes https://github.com/vim/vim/issues/9756, closes #9757)
author Bram Moolenaar <Bram@vim.org>
date Sun, 13 Feb 2022 13:15:03 +0100
parents fb4c30606b4a
children 1a702abffaf3
line wrap: on
line diff
--- a/src/term.c
+++ b/src/term.c
@@ -37,7 +37,7 @@
  * A few linux systems define outfuntype in termcap.h to be used as the third
  * argument for tputs().
  */
-# ifdef VMS
+# if defined(VMS) || defined(AMIGA)
 #  define TPUTSFUNCAST (void (*)(unsigned int))
 # else
 #  ifdef HAVE_OUTFUNTYPE