Updates for the build machinery.
[super-star-trek.git] / sstlinux.c
index b376b399b30c4e6ed9a120d3d7598c0cb5a6c3a7..90d50ad01a460caec3bf18dcd034a1095029b9b2 100644 (file)
@@ -1,25 +1,11 @@
-#include <stdarg.h>
-#include <ncurses/ncurses.h>
-
 #include <sys/types.h>
 #include <fcntl.h>
 #include <sys/ioctl.h>
 #include <linux/kd.h>
-
 #include "sstlinux.h"
 
 static int fd = 0;
 
-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);
-}
-
 void sound(unsigned int freq)
 {
     if(fd==0) fd=open("/dev/console", O_RDONLY);