X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=sstlinux.c;h=4c479a067dcfefa7e4bac680eefe0048e3c61da3;hb=a96a31750d67dfc0d4636aae4040155f78d5eda8;hp=b376b399b30c4e6ed9a120d3d7598c0cb5a6c3a7;hpb=cf91699c89b88f76dcf63c60624635184e8cb7eb;p=super-star-trek.git diff --git a/sstlinux.c b/sstlinux.c index b376b39..4c479a0 100644 --- a/sstlinux.c +++ b/sstlinux.c @@ -1,6 +1,3 @@ -#include -#include - #include #include #include @@ -10,16 +7,6 @@ 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);