projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correct the prompt-setting.
[super-star-trek.git]
/
sstlinux.c
diff --git
a/sstlinux.c
b/sstlinux.c
index b376b399b30c4e6ed9a120d3d7598c0cb5a6c3a7..90d50ad01a460caec3bf18dcd034a1095029b9b2 100644
(file)
--- a/
sstlinux.c
+++ b/
sstlinux.c
@@
-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 <sys/types.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <linux/kd.h>
-
#include "sstlinux.h"
static int fd = 0;
#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);
void sound(unsigned int freq)
{
if(fd==0) fd=open("/dev/console", O_RDONLY);