diff options
author | dumbbell <dumbbell@FreeBSD.org> | 2014-09-13 09:33:37 +0000 |
---|---|---|
committer | dumbbell <dumbbell@FreeBSD.org> | 2014-09-13 09:33:37 +0000 |
commit | 73abeee97f38fd58527d60e048f68fae22055c64 (patch) | |
tree | 8b2f21e88e03186eb202cdcf5d5ba360882824ac /sys/dev | |
parent | 20d551b720cdef4df77f1910630877f3b6a4d7a8 (diff) | |
download | FreeBSD-src-73abeee97f38fd58527d60e048f68fae22055c64.zip FreeBSD-src-73abeee97f38fd58527d60e048f68fae22055c64.tar.gz |
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
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/vt/vt_core.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |