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-keyboard.c | |
| parent | 52fdc1a5470b984b68afa7392980ef190e74b916 (diff) | |
| download | plan9port-c4553e9cd0f42874d23d5c99ea68ea57513206b1.tar.gz plan9port-c4553e9cd0f42874d23d5c99ea68ea57513206b1.zip | |
more nowsys
Diffstat (limited to 'src/libdraw/nowsys-keyboard.c')
| -rw-r--r-- | src/libdraw/nowsys-keyboard.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/libdraw/nowsys-keyboard.c b/src/libdraw/nowsys-keyboard.c index e69de29b..0c394e6d 100644 --- a/src/libdraw/nowsys-keyboard.c +++ b/src/libdraw/nowsys-keyboard.c @@ -0,0 +1,28 @@ +#include <u.h> +#include <libc.h> +#include <draw.h> +#include <thread.h> +#include <cursor.h> +#include <mouse.h> + +static int +bad(void) +{ + sysfatal("compiled with no window system support"); + return 0; +} + +void +closekeyboard(Keyboardctl *mc) +{ + USED(mc); + bad(); +} + +Keyboardctl* +initkeyboard(char *file) +{ + USED(file); + bad(); + return nil; +} |
