Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Dec 2017 06:53:27 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r327376 - head/stand/fdt
Message-ID:  <201712300653.vBU6rRta073520@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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