svn commit: r190515 - head/sys/mips/include

Bjoern A. Zeeb bz at FreeBSD.org
Sat Mar 28 16:24:34 PDT 2009


Author: bz
Date: Sat Mar 28 23:24:34 2009
New Revision: 190515
URL: http://svn.freebsd.org/changeset/base/190515

Log:
  Mark the declaration of bus_space_map 'static' as the implementation is.
  Follow one of the two most common indent schemes in this file.
  This unbreaks a few mips kernel builds.

Modified:
  head/sys/mips/include/bus.h

Modified: head/sys/mips/include/bus.h
==============================================================================
--- head/sys/mips/include/bus.h	Sat Mar 28 23:17:18 2009	(r190514)
+++ head/sys/mips/include/bus.h	Sat Mar 28 23:24:34 2009	(r190515)
@@ -101,8 +101,9 @@
  * Map a region of device bus space into CPU virtual address space.
  */
 
-__inline int	bus_space_map(bus_space_tag_t t, bus_addr_t addr,
-		    bus_size_t size, int flags, bus_space_handle_t *bshp);
+static __inline int bus_space_map(bus_space_tag_t t, bus_addr_t addr,
+				  bus_size_t size, int flags,
+				  bus_space_handle_t *bshp);
 
 static __inline int
 bus_space_map(bus_space_tag_t t __unused, bus_addr_t addr,


More information about the svn-src-all mailing list