Module Name:    src
Committed By:   dholland
Date:           Sun Jan 10 02:40:21 UTC 2016

Modified Files:
        src/sys/ufs/lfs: lfs_accessors.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/ufs/lfs/lfs_accessors.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/ufs/lfs/lfs_accessors.h
diff -u src/sys/ufs/lfs/lfs_accessors.h:1.40 src/sys/ufs/lfs/lfs_accessors.h:1.41
--- src/sys/ufs/lfs/lfs_accessors.h:1.40	Mon Oct 19 04:22:28 2015
+++ src/sys/ufs/lfs/lfs_accessors.h	Sun Jan 10 02:40:21 2016
@@ -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 @@ lfs_copydirname(STRUCT_LFS *fs, char *de
 	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 @@ lfs_dirtemplate_dotdot(STRUCT_LFS *fs, u
 	}
 }
 
-static __unused char *
+static __unused inline char *
 lfs_dirtemplate_dotdotname(STRUCT_LFS *fs, union lfs_dirtemplate *dt)
 {
 	if (fs->lfs_is64) {

Reply via email to