X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;ds=sidebyside;f=io.c;h=91d938720346faba5942380b9a30460d86adec8a;hb=10131f4148d32996badc7432cb5b9903dca873e0;hp=12a1993e693272f9fd29ce546229e63d92ff7e88;hpb=fb225a29a207cea8436c2deeced27f366492b227;p=super-star-trek.git diff --git a/io.c b/io.c index 12a1993..91d9387 100644 --- a/io.c +++ b/io.c @@ -1,26 +1,14 @@ -#ifdef SERGEEV #define _GNU_SOURCE -#endif /* SERGEEV */ #include -#ifdef SERGEEV #include -#endif /* SERGEEV */ #include #include #include #include #include -#ifdef SERGEEV -#include -#endif /* SERGEEV */ -#ifdef MSDOS -#include -#endif -#include -#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);