diff options
author | 2002-03-18 00:19:45 +0000 | |
---|---|---|
committer | 2002-03-18 00:19:45 +0000 | |
commit | 6a82f7b8c081f9861839046625ef4d46658e6493 (patch) | |
tree | 0a7d084f247c7ebde9c7eb5f2860573478ce1bb5 | |
parent | Change the format for hosts lines to the one the install (diff) | |
download | wireguard-openbsd-6a82f7b8c081f9861839046625ef4d46658e6493.tar.xz wireguard-openbsd-6a82f7b8c081f9861839046625ef4d46658e6493.zip |
no keyboard -- no cry
-rw-r--r-- | sys/arch/hppa/hppa/wscons_machdep.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/hppa/hppa/wscons_machdep.c b/sys/arch/hppa/hppa/wscons_machdep.c index a055c012237..8c721c993e4 100644 --- a/sys/arch/hppa/hppa/wscons_machdep.c +++ b/sys/arch/hppa/hppa/wscons_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wscons_machdep.c,v 1.1 2002/03/15 22:50:05 mickey Exp $ */ +/* $OpenBSD: wscons_machdep.c,v 1.2 2002/03/18 00:19:45 mickey Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff @@ -123,7 +123,11 @@ int wscngetc(dev) dev_t dev; { +#if NWSKBD > 0 return (wskbd_cngetc(dev)); +#else + return (0); +#endif } void @@ -131,5 +135,7 @@ wscnpollc(dev, on) dev_t dev; int on; { +#if NWSKBD > 0 wskbd_cnpollc(dev, on); +#endif } |