Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2017 18:35:20 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r316171 - head/sys/boot/i386/boot2
Message-ID:  <201703291835.v2TIZKD2016887@repo.freebsd.org>

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



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