Date: Sat, 13 Sep 2014 09:33:37 +0000 (UTC) From: Jean-Sebastien Pedron <dumbbell@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r271506 - head/sys/dev/vt Message-ID: <201409130933.s8D9XbY1010799@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409130933.s8D9XbY1010799>