summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoryokota <yokota@FreeBSD.org>2000-04-03 09:24:16 +0000
committeryokota <yokota@FreeBSD.org>2000-04-03 09:24:16 +0000
commit494ed849eb9ee84cd66edc3a8ff80bf8d27763ee (patch)
tree4e0841eda474e235031a6c91c2782bebae90075c /sys
parentce645963ff64ed0a680365da1ea55dfec37d558f (diff)
downloadFreeBSD-src-494ed849eb9ee84cd66edc3a8ff80bf8d27763ee.zip
FreeBSD-src-494ed849eb9ee84cd66edc3a8ff80bf8d27763ee.tar.gz
Unbreak LINT.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/syscons/syscons.c2
-rw-r--r--sys/dev/syscons/syscons.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c
index 60ceede..06c77cf 100644
--- a/sys/dev/syscons/syscons.c
+++ b/sys/dev/syscons/syscons.c
@@ -2764,7 +2764,7 @@ static scr_stat
if (sc_init_emulator(scp, SC_DFLT_TERM))
sc_init_emulator(scp, "*");
-#ifndef SC_NO_SYSMOUSE
+#ifndef SC_NO_CUTPASTE
if (ISMOUSEAVAIL(sc->adp->va_flags))
sc_alloc_cut_buffer(scp, TRUE);
#endif
diff --git a/sys/dev/syscons/syscons.h b/sys/dev/syscons/syscons.h
index f204319..0c1d8e4 100644
--- a/sys/dev/syscons/syscons.h
+++ b/sys/dev/syscons/syscons.h
@@ -549,8 +549,12 @@ void sc_remove_cutmarking(scr_stat *scp);
void sc_remove_all_cutmarkings(sc_softc_t *scp);
void sc_remove_all_mouse(sc_softc_t *scp);
#else
+#define sc_draw_mouse_image(scp)
+#define sc_remove_mouse_image(scp)
#define sc_inside_cutmark(scp, pos) FALSE
#define sc_remove_cutmarking(scp)
+#define sc_remove_all_cutmarkings(scp)
+#define sc_remove_all_mouse(scp)
#endif /* SC_NO_CUTPASTE */
#ifndef SC_NO_SYSMOUSE
void sc_mouse_move(scr_stat *scp, int x, int y);
OpenPOWER on IntegriCloud