svn commit: r316171 - head/sys/boot/i386/boot2
Warner Losh
imp at FreeBSD.org
Wed Mar 29 18:35:22 UTC 2017
Author: imp
Date: Wed Mar 29 18:35:20 2017
New Revision: 316171
URL: https://svnweb.freebsd.org/changeset/base/316171
Log:
xfsread inlined uses more space, so remove the inline tag. This
doesn't help clang, but buys us another 32 bytes for gcc 4.2.1. It
also eliminates a warning from gcc 6.3.0 that says inlining this would
be unhelpful.
Modified:
head/sys/boot/i386/boot2/boot2.c
Modified: head/sys/boot/i386/boot2/boot2.c
==============================================================================
--- head/sys/boot/i386/boot2/boot2.c Wed Mar 29 17:11:41 2017 (r316170)
+++ head/sys/boot/i386/boot2/boot2.c Wed Mar 29 18:35:20 2017 (r316171)
@@ -143,7 +143,7 @@ strcmp(const char *s1, const char *s2)
#define UFS_SMALL_CGBASE
#include "ufsread.c"
-static inline int
+static int
xfsread(ufs_ino_t inode, void *buf, size_t nbyte)
{
if ((size_t)fsread(inode, buf, nbyte) != nbyte) {
More information about the svn-src-head
mailing list