Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/wscons wskbd(4): Add include guards.



details:   https://anonhg.NetBSD.org/src/rev/63f678de20b4
branches:  trunk
changeset: 370672:63f678de20b4
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri Sep 23 19:04:04 2022 +0000

description:
wskbd(4): Add include guards.

No functional change intended.

diffstat:

 sys/dev/wscons/wskbdvar.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 33261e571b30 -r 63f678de20b4 sys/dev/wscons/wskbdvar.h
--- a/sys/dev/wscons/wskbdvar.h Fri Sep 23 12:35:00 2022 +0000
+++ b/sys/dev/wscons/wskbdvar.h Fri Sep 23 19:04:04 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wskbdvar.h,v 1.19 2012/09/02 21:14:56 he Exp $ */
+/* $NetBSD: wskbdvar.h,v 1.20 2022/09/23 19:04:04 riastradh Exp $ */
 
 /*
  * Copyright (c) 1996, 1997 Christopher G. Demetriou.  All rights reserved.
@@ -30,6 +30,9 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#ifndef        _DEV_WSCONS_WSKBDVAR_H_
+#define        _DEV_WSCONS_WSKBDVAR_H_
+
 /*
  * WSKBD interfaces.
  */
@@ -116,3 +119,5 @@
 int    wskbd_cngetc(dev_t);
 void   wskbd_cnpollc(dev_t, int);
 void   wskbd_cnbell(dev_t, u_int, u_int, u_int);
+
+#endif /* _DEV_WSCONS_WSKBDVAR_H_ */



Home | Main Index | Thread Index | Old Index