summaryrefslogtreecommitdiff
path: root/src/terminfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/terminfo.c')
-rw-r--r--src/terminfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terminfo.c b/src/terminfo.c
index bfb8b62674a..eed22afffa8 100644
--- a/src/terminfo.c
+++ b/src/terminfo.c
@@ -29,7 +29,7 @@ char *UP, *BC, PC;
#ifdef HAVE_SPEED_T
#include <termios.h>
-extern speed_t ospeed;
+speed_t ospeed;
#else
#if defined (HAVE_LIBNCURSES) && ! defined (NCURSES_OSPEED_T)
short ospeed;