From 73abeee97f38fd58527d60e048f68fae22055c64 Mon Sep 17 00:00:00 2001 From: dumbbell Date: Sat, 13 Sep 2014 09:33:37 +0000 Subject: vt(4): Enclose vt_mouse_paste() prototype inside #ifndef SC_NO_CUTPASTE/#endif This fixes the build with sparc64 LINT for instance. Reported by: bz@ MFC after: 3 days --- sys/dev/vt/vt_core.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/dev/vt') diff --git a/sys/dev/vt/vt_core.c b/sys/dev/vt/vt_core.c index 0bacd40..5d43316 100644 --- a/sys/dev/vt/vt_core.c +++ b/sys/dev/vt/vt_core.c @@ -162,7 +162,9 @@ static int vt_late_window_switch(struct vt_window *); static int vt_proc_alive(struct vt_window *); static void vt_resize(struct vt_device *); static void vt_update_static(void *); +#ifndef SC_NO_CUTPASTE static void vt_mouse_paste(void); +#endif SET_DECLARE(vt_drv_set, struct vt_driver); -- cgit v1.1