Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2014 20:04:57 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r262123 - head/sys/arm/include
Message-ID:  <201402172004.s1HK4vgk026204@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Mon Feb 17 20:04:57 2014
New Revision: 262123
URL: http://svnweb.freebsd.org/changeset/base/262123

Log:
  Give the fdt helper routines static linkage since no global definition
  of them is provided anywhere.  (gcc was nice enough to warn about this,
  clang didn't for some reason.)

Modified:
  head/sys/arm/include/physmem.h

Modified: head/sys/arm/include/physmem.h
==============================================================================
--- head/sys/arm/include/physmem.h	Mon Feb 17 20:04:16 2014	(r262122)
+++ head/sys/arm/include/physmem.h	Mon Feb 17 20:04:57 2014	(r262123)
@@ -65,7 +65,7 @@ void arm_physmem_print_tables(void);
 
 #include <machine/ofw_machdep.h>
 
-inline void 
+static inline void 
 arm_physmem_hardware_regions(struct mem_region * mrptr, int mrcount)
 {
 	while (mrcount--) {
@@ -74,7 +74,7 @@ arm_physmem_hardware_regions(struct mem_
 	}
 }
 
-inline void
+static inline void
 arm_physmem_exclude_regions(struct mem_region * mrptr, int mrcount, 
     uint32_t exflags)
 {



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