X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=sstlinux.c;h=4c479a067dcfefa7e4bac680eefe0048e3c61da3;hb=a96a31750d67dfc0d4636aae4040155f78d5eda8;hp=316d58a90126b9a131207807d395343b4d880351;hpb=5fd1629b862b1a1bba3f70d4d06ba0b0859ec0e6;p=super-star-trek.git diff --git a/sstlinux.c b/sstlinux.c index 316d58a..4c479a0 100644 --- a/sstlinux.c +++ b/sstlinux.c @@ -1,6 +1,3 @@ -#include -#include - #include #include #include @@ -10,18 +7,6 @@ static int fd = 0; -#ifdef SERGEEV -int c_printf (char *format, ... ) -{ - char buffer[BUFSIZ]; /* Well, BUFSIZ is from ncurses... */ - va_list argp; - va_start(argp,format); - vsprintf(buffer,format,argp); - va_end(argp); - return waddstr(conio_scr,buffer); -} -#endif /* SERGEEV */ - void sound(unsigned int freq) { if(fd==0) fd=open("/dev/console", O_RDONLY);