diff options
author | rsc <devnull@localhost> | 2005-02-02 22:27:17 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-02-02 22:27:17 +0000 |
commit | c4553e9cd0f42874d23d5c99ea68ea57513206b1 (patch) | |
tree | 908ea58e1b943fc028a13f500a4fb152c417ec15 /src/libdraw/nowsys-init.c | |
parent | 52fdc1a5470b984b68afa7392980ef190e74b916 (diff) | |
download | plan9port-c4553e9cd0f42874d23d5c99ea68ea57513206b1.tar.gz plan9port-c4553e9cd0f42874d23d5c99ea68ea57513206b1.tar.bz2 plan9port-c4553e9cd0f42874d23d5c99ea68ea57513206b1.zip |
more nowsys
Diffstat (limited to 'src/libdraw/nowsys-init.c')
-rw-r--r-- | src/libdraw/nowsys-init.c | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/libdraw/nowsys-init.c b/src/libdraw/nowsys-init.c index e69de29b..003238fd 100644 --- a/src/libdraw/nowsys-init.c +++ b/src/libdraw/nowsys-init.c @@ -0,0 +1,47 @@ +#include <u.h> +#include <libc.h> +#include <draw.h> +#include <keyboard.h> +#include <mouse.h> +#include <cursor.h> + +char *winsize; + +static int +bad(void) +{ + sysfatal("compiled with no window system support"): + return 0; +} + +Display* +_initdisplay(void (*error)(Display*, char*), char *label) +{ + USED(error); + USED(label); + + bad(); + return nil; +} + +int +getwindow(Display *d, int ref) +{ + USED(d); + USED(ref); + return bad(); +} + +int +drawsetlabel(char *label) +{ + USED(label); + return bad(); +} + +void +_flushmemscreen(Rectangle r) +{ + bad(); +} + |