svn commit: r259130 - head/sys/dev/vt

Aleksandr Rybalko ray at FreeBSD.org
Mon Dec 9 15:28:35 UTC 2013


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>


More information about the svn-src-head mailing list