svn commit: r325748 - head/sys/boot/userboot/test

Warner Losh imp at FreeBSD.org
Mon Nov 13 00:30:40 UTC 2017


Author: imp
Date: Mon Nov 13 00:30:38 2017
New Revision: 325748
URL: https://svnweb.freebsd.org/changeset/base/325748

Log:
  Use proper include file. While <boot/userboot/userboot.h> works, it
  only works because we have -Isys on the command line. We also have
  -Isys/boot/userboot on the command line, so bring it in directly with
  <userboot.h>. No functional change, but it removes one hard to see
  dependency on the boot loader's location in sys/boot.
  
  Sponsored by: Netflix

Modified:
  head/sys/boot/userboot/test/test.c

Modified: head/sys/boot/userboot/test/test.c
==============================================================================
--- head/sys/boot/userboot/test/test.c	Sun Nov 12 23:13:04 2017	(r325747)
+++ head/sys/boot/userboot/test/test.c	Mon Nov 13 00:30:38 2017	(r325748)
@@ -44,7 +44,7 @@
 #include <termios.h>
 #include <unistd.h>
 
-#include <boot/userboot/userboot.h>
+#include <userboot.h>
 
 char *host_base = NULL;
 struct termios term, oldterm;


More information about the svn-src-head mailing list