svn commit: r327376 - head/stand/fdt

Kyle Evans kevans at FreeBSD.org
Sat Dec 30 06:53:29 UTC 2017


Author: kevans
Date: Sat Dec 30 06:53:27 2017
New Revision: 327376
URL: https://svnweb.freebsd.org/changeset/base/327376

Log:
  stand/fdt: Swap libfdt include order
  
  libfdt.h should be included before fdt.h, as hinted at by all of libfdt/;
  standard include order being libfdt.h, libfdt_env.h, fdt.h.
  
  The current include order also causes problems when libfdt gets updated, as
  fdt.h requires some definitions from libfdt.h.
  
  Differential Revision:	https://reviews.freebsd.org/D13688

Modified:
  head/stand/fdt/fdt_loader_cmd.c

Modified: head/stand/fdt/fdt_loader_cmd.c
==============================================================================
--- head/stand/fdt/fdt_loader_cmd.c	Sat Dec 30 04:03:53 2017	(r327375)
+++ head/stand/fdt/fdt_loader_cmd.c	Sat Dec 30 06:53:27 2017	(r327376)
@@ -31,8 +31,8 @@
 __FBSDID("$FreeBSD$");
 
 #include <stand.h>
-#include <fdt.h>
 #include <libfdt.h>
+#include <fdt.h>
 #include <sys/param.h>
 #include <sys/linker.h>
 #include <machine/elf.h>


More information about the svn-src-all mailing list