summaryrefslogtreecommitdiffstats
path: root/mutt_curses.h
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2021-01-01 18:51:32 -0800
committerKevin McCarthy <kevin@8t8.us>2021-01-03 13:00:29 -0800
commite4a8abe80f7c3dfc06da1e4bf2cb1d607cae60fc (patch)
tree893f60571d2c52afe59073a3cd1c95da53bcb2ce /mutt_curses.h
parent475e800f7df5c2b87cf7af52edcd02d7615b7401 (diff)
Remove obsolete AC_HEADER_STDC and STDC_HEADERS checks.
The autoconf macro is obsolete in 2.70. Also, we now assume at least C99 so there is no point in checking for ANSI C89 header files. Fix up code to assume STDC_HEADERS is always true, removing the reference to it at the same time.
Diffstat (limited to 'mutt_curses.h')
-rw-r--r--mutt_curses.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/mutt_curses.h b/mutt_curses.h
index f21e0eab..d6f14d7c 100644
--- a/mutt_curses.h
+++ b/mutt_curses.h
@@ -245,28 +245,4 @@ void ci_start_color (void);
/* reset the color to the normal terminal color as defined by 'color normal ...' */
#define NORMAL_COLOR SETCOLOR(MT_COLOR_NORMAL)
-/* ----------------------------------------------------------------------------
- * These are here to avoid compiler warnings with -Wall under SunOS 4.1.x
- */
-
-#if !defined(STDC_HEADERS) && !defined(NCURSES_VERSION) && !defined(USE_SLANG_CURSES)
-extern int endwin();
-extern int printw();
-extern int beep();
-extern int isendwin();
-extern int w32addch();
-extern int keypad();
-extern int wclrtobot();
-extern int mvprintw();
-extern int getcurx();
-extern int getcury();
-extern int noecho();
-extern int wdelch();
-extern int wrefresh();
-extern int wmove();
-extern int wclear();
-extern int waddstr();
-extern int wclrtoeol();
-#endif
-
#endif /* _MUTT_CURSES_H_ */