diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-05-07 20:31:32 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-05-07 20:31:32 +0000 |
commit | 24b8e24000742bf94dc6b691a7936ef1227cfeb9 (patch) | |
tree | 15172fcd736c5e3e34dfca63614f9009543882c7 /sys/arch/amiga/stand | |
parent | 2fd85064776510613534560f9d1814765ae84b8b (diff) |
From NetBSD:
Make this compile. Fixes PR#2047
Diffstat (limited to 'sys/arch/amiga/stand')
-rw-r--r-- | sys/arch/amiga/stand/loadkmap/sw-kbdmap.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/arch/amiga/stand/loadkmap/sw-kbdmap.c b/sys/arch/amiga/stand/loadkmap/sw-kbdmap.c index 057d8aceca6..d3e02d4b2cd 100644 --- a/sys/arch/amiga/stand/loadkmap/sw-kbdmap.c +++ b/sys/arch/amiga/stand/loadkmap/sw-kbdmap.c @@ -1,4 +1,4 @@ -/* $NetBSD: sw-kbdmap.c,v 1.1 1996/01/28 20:19:51 chopps Exp $ */ +/* $NetBSD: sw-kbdmap.c,v 1.2 1996/05/05 22:25:00 veego Exp $ */ /* * Copyright (c) 1993 Markus Wild @@ -29,7 +29,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <amiga/dev/kbdmap.h> +#include "../../dev/kbdmap.h" /* define a default keymap. This can be changed by keyboard ioctl's (later at least..) */ @@ -48,8 +48,7 @@ #define C KBD_MODE_CAPS #define K KBD_MODE_KPAD -struct kbdmap kbdmap; -struct kbdmap ascii_kbdmap = { +struct kbdmap kbdmap = { /* normal map */ { 0, '`', /* 0x00 */ @@ -507,5 +506,8 @@ unsigned char acctable[KBD_NUM_ACC][64] = { "`äbcdëfghïjklmnöpqrstüvwxyz{|}~\177"}, /* KBD_ACC_DIER */ }; - +main() +{ + write (1, &kbdmap, sizeof (kbdmap)); +} |