Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ufs/lfs Fix two functions that were accidentally "static...



details:   https://anonhg.NetBSD.org/src/rev/57ac516e4dc8
branches:  trunk
changeset: 342817:57ac516e4dc8
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sun Jan 10 02:40:21 2016 +0000

description:
Fix two functions that were accidentally "static __unused" instead of
"static __unused inline". Oops; but probably not actually harmful.

diffstat:

 sys/ufs/lfs/lfs_accessors.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r abf220df67d0 -r 57ac516e4dc8 sys/ufs/lfs/lfs_accessors.h
--- a/sys/ufs/lfs/lfs_accessors.h       Sat Jan 09 22:15:24 2016 +0000
+++ b/sys/ufs/lfs/lfs_accessors.h       Sun Jan 10 02:40:21 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs_accessors.h,v 1.40 2015/10/19 04:22:28 dholland Exp $      */
+/*     $NetBSD: lfs_accessors.h,v 1.41 2016/01/10 02:40:21 dholland Exp $      */
 
 /*  from NetBSD: lfs.h,v 1.165 2015/07/24 06:59:32 dholland Exp  */
 /*  from NetBSD: dinode.h,v 1.22 2013/01/22 09:39:18 dholland Exp  */
@@ -395,7 +395,7 @@
        memset(dest + namlen, '\0', spacelen - namlen);
 }
 
-static __unused LFS_DIRHEADER *
+static __unused inline LFS_DIRHEADER *
 lfs_dirtemplate_dotdot(STRUCT_LFS *fs, union lfs_dirtemplate *dt)
 {
        /* XXX blah, be nice to have a way to do this w/o casts */
@@ -406,7 +406,7 @@
        }
 }
 
-static __unused char *
+static __unused inline char *
 lfs_dirtemplate_dotdotname(STRUCT_LFS *fs, union lfs_dirtemplate *dt)
 {
        if (fs->lfs_is64) {



Home | Main Index | Thread Index | Old Index