aboutsummaryrefslogtreecommitdiff
path: root/sys/ufs
diff options
context:
space:
mode:
authorGary Palmer <gpalmer@FreeBSD.org>1996-06-12 05:11:41 +0000
committerGary Palmer <gpalmer@FreeBSD.org>1996-06-12 05:11:41 +0000
commitc23670e2949d9e72d99006b4f3be147c712f2f89 (patch)
treec727af841ff654969571e10a8dc92e2a987cd0c2 /sys/ufs
parent1409e0b3841780591862f4165059fbfe400a0e0d (diff)
downloadsrc-c23670e2949d9e72d99006b4f3be147c712f2f89.tar.gz
src-c23670e2949d9e72d99006b4f3be147c712f2f89.zip
Clean up -Wunused warnings.
Reviewed by: bde
Notes
Notes: svn path=/head/; revision=16322
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/lfs/lfs_segment.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/ufs/lfs/lfs_segment.c b/sys/ufs/lfs/lfs_segment.c
index e08e07d91aa3..093a19cab0b8 100644
--- a/sys/ufs/lfs/lfs_segment.c
+++ b/sys/ufs/lfs/lfs_segment.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)lfs_segment.c 8.5 (Berkeley) 1/4/94
- * $Id: lfs_segment.c,v 1.15 1995/12/03 11:16:46 bde Exp $
+ * $Id: lfs_segment.c,v 1.16 1995/12/17 21:09:49 phk Exp $
*/
#include <sys/param.h>
@@ -152,7 +152,9 @@ void lfs_iset __P((struct inode *, daddr_t, time_t));
static int lfs_match_data __P((struct lfs *, struct buf *));
static int lfs_match_dindir __P((struct lfs *, struct buf *));
static int lfs_match_indir __P((struct lfs *, struct buf *));
+#ifdef TRIPLE
static int lfs_match_tindir __P((struct lfs *, struct buf *));
+#endif
static void lfs_newseg __P((struct lfs *));
static void lfs_shellsort __P((struct buf **, daddr_t *, register int));
static void lfs_supercallback __P((struct buf *));
@@ -1058,6 +1060,7 @@ lfs_match_dindir(fs, bp)
return (lbn < 0 && (-lbn - NDADDR) % NINDIR(fs) == 1);
}
+#ifdef TRIPLE
static int
lfs_match_tindir(fs, bp)
struct lfs *fs;
@@ -1068,6 +1071,7 @@ lfs_match_tindir(fs, bp)
lbn = bp->b_lblkno;
return (lbn < 0 && (-lbn - NDADDR) % NINDIR(fs) == 2);
}
+#endif
/*
* Allocate a new buffer header.