X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=sstlinux.c;h=90d50ad01a460caec3bf18dcd034a1095029b9b2;hp=316d58a90126b9a131207807d395343b4d880351;hb=f1af4f83e663d93c704ce0ada75ea4aa9ae3c65b;hpb=5fd1629b862b1a1bba3f70d4d06ba0b0859ec0e6 diff --git a/sstlinux.c b/sstlinux.c index 316d58a..90d50ad 100644 --- a/sstlinux.c +++ b/sstlinux.c @@ -1,27 +1,11 @@ -#include -#include - #include #include #include #include - #include "sstlinux.h" 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);