getline -> cgetline.
[super-star-trek.git] / io.c
diff --git a/io.c b/io.c
index 12a1993e693272f9fd29ce546229e63d92ff7e88..91d938720346faba5942380b9a30460d86adec8a 100644 (file)
--- a/io.c
+++ b/io.c
@@ -1,26 +1,14 @@
-#ifdef SERGEEV
 #define _GNU_SOURCE
-#endif /* SERGEEV */
 #include <stdio.h>
-#ifdef SERGEEV
 #include <unistd.h>
-#endif /* SERGEEV */
 #include <termios.h>
 #include <curses.h>
 #include <signal.h>
 #include <ctype.h>
 #include <stdarg.h>
-#ifdef SERGEEV
-#include <conio.h>
-#endif /* SERGEEV */
-#ifdef MSDOS
-#include <dos.h>
-#endif
-#include <time.h>
 
-#ifdef SERGEEV
+#include "conio.h"
 #include "sstlinux.h"
-#endif /* SERGEEV */
 #include "sst.h"
 
 #ifndef SERGEEV
@@ -336,7 +324,7 @@ void setpassword(void) {
 #endif /* SERGEEV */
 }
 
-void getline(char *line, int max) {
+void cgetline(char *line, int max) {
     if (curses) {
 #ifndef SERGEEV
        wgetnstr(stdscr, line, max);