svn commit: r271506 - head/sys/dev/vt
Jean-Sebastien Pedron
dumbbell at FreeBSD.org
Sat Sep 13 09:33:38 UTC 2014
Author: dumbbell
Date: Sat Sep 13 09:33:37 2014
New Revision: 271506
URL: http://svnweb.freebsd.org/changeset/base/271506
Log:
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
Modified:
head/sys/dev/vt/vt_core.c
Modified: head/sys/dev/vt/vt_core.c
==============================================================================
--- head/sys/dev/vt/vt_core.c Sat Sep 13 08:55:22 2014 (r271505)
+++ head/sys/dev/vt/vt_core.c Sat Sep 13 09:33:37 2014 (r271506)
@@ -162,7 +162,9 @@ static int vt_late_window_switch(struct
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);
More information about the svn-src-all
mailing list