svn commit: r262123 - head/sys/arm/include

Ian Lepore ian at FreeBSD.org
Mon Feb 17 20:04:57 UTC 2014


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)
 {


More information about the svn-src-head mailing list