diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2020-01-22 14:52:15 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2020-01-22 14:52:15 +0000 |
commit | 880a8334faae62be872860776d1511e0894a3352 (patch) | |
tree | c815908c9a0e4f664a3944b99632d20908ed5666 /sys/dev/pckbc | |
parent | a5ca9573f4f18838f6b5dd528ce1a69cf537a527 (diff) |
Unbreak !DIAGNOSTIC build.
From Andrius V vezhlys (at) gmail, on bugs@
Diffstat (limited to 'sys/dev/pckbc')
-rw-r--r-- | sys/dev/pckbc/pms.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pckbc/pms.c b/sys/dev/pckbc/pms.c index 439a80399a8..fadf658bfde 100644 --- a/sys/dev/pckbc/pms.c +++ b/sys/dev/pckbc/pms.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pms.c,v 1.90 2019/09/20 21:21:47 bru Exp $ */ +/* $OpenBSD: pms.c,v 1.91 2020/01/22 14:52:14 mpi Exp $ */ /* $NetBSD: psm.c,v 1.11 2000/06/05 22:20:57 sommerfeld Exp $ */ /*- @@ -922,6 +922,7 @@ pms_sec_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p) return (0); } +#ifdef DIAGNOSTIC static inline void pms_print_packet(struct pms_softc *sc) { @@ -932,6 +933,7 @@ pms_print_packet(struct pms_softc *sc) for (i = 0; i < size; i++) printf(i == state ? " %02x |" : " %02x", sc->packet[i]); } +#endif void pmsinput(void *vsc, int data) |