Source-Changes-HG archive

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

[src-draft/trunk]: src/sys/dev/wscons wscons: Make tpcalibvar.h safely includ...



details:   https://anonhg.NetBSD.org/src-all/rev/17222c91edb2
branches:  trunk
changeset: 949388:17222c91edb2
user:      Taylor R Campbell <riastradh%NetBSD.org@localhost>
date:      Mon Dec 21 16:46:42 2020 +0000

description:
wscons: Make tpcalibvar.h safely includable on its own.

diffstat:

 sys/dev/wscons/tpcalibvar.h |  11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diffs (25 lines):

diff -r 096918e5634c -r 17222c91edb2 sys/dev/wscons/tpcalibvar.h
--- a/sys/dev/wscons/tpcalibvar.h       Mon Dec 21 16:45:19 2020 +0000
+++ b/sys/dev/wscons/tpcalibvar.h       Mon Dec 21 16:46:42 2020 +0000
@@ -27,6 +27,15 @@
  *
  */
 
+#ifndef        _DEV_WSCONS_TPCALIBVAR_H_
+#define        _DEV_WSCONS_TPCALIBVAR_H_
+
+#include <sys/types.h>
+
+#include <dev/wscons/wsconsio.h>
+
+struct lwp;
+
 struct tpcalib_softc {
        int sc_minx, sc_miny;
        int sc_maxx, sc_maxy;
@@ -41,3 +50,5 @@
 void   tpcalib_trans(struct tpcalib_softc *, int, int, int *, int *);
 int    tpcalib_ioctl(struct tpcalib_softc *, u_long, void *, int,
            struct lwp *);
+
+#endif /* _DEV_WSCONS_TPCALIBVAR_H_ */



Home | Main Index | Thread Index | Old Index