Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 2013 15:28:34 +0000 (UTC)
From:      Aleksandr Rybalko <ray@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r259130 - head/sys/dev/vt
Message-ID:  <201312091528.rB9FSYFE061522@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ray
Date: Mon Dec  9 15:28:34 2013
New Revision: 259130
URL: http://svnweb.freebsd.org/changeset/base/259130

Log:
  o Compat options have to be defined before sys/ioccom.h included, so move
  	inclusion of right after sys/param.h.
  o Only vt_core module use compat options, move it from common header to module.
  
  Reported by:	Larry Rosenman ler at lerctr dot org
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/dev/vt/vt.h
  head/sys/dev/vt/vt_core.c

Modified: head/sys/dev/vt/vt.h
==============================================================================
--- head/sys/dev/vt/vt.h	Mon Dec  9 15:01:34 2013	(r259129)
+++ head/sys/dev/vt/vt.h	Mon Dec  9 15:28:34 2013	(r259130)
@@ -46,7 +46,6 @@
 #include <sys/terminal.h>
 #include <sys/sysctl.h>
 
-#include "opt_compat.h"
 #include "opt_syscons.h"
 #include "opt_splash.h"
 

Modified: head/sys/dev/vt/vt_core.c
==============================================================================
--- head/sys/dev/vt/vt_core.c	Mon Dec  9 15:01:34 2013	(r259129)
+++ head/sys/dev/vt/vt_core.c	Mon Dec  9 15:28:34 2013	(r259130)
@@ -34,6 +34,9 @@
 __FBSDID("$FreeBSD$");
 
 #include <sys/param.h>
+
+#include "opt_compat.h"
+
 #include <sys/consio.h>
 #include <sys/eventhandler.h>
 #include <sys/fbio.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312091528.rB9FSYFE061522>