Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ffs be consistent and use "u_char" instead of "unsig...
details: https://anonhg.NetBSD.org/src/rev/d37859d20380
branches: trunk
changeset: 513713:d37859d20380
user: lukem <lukem%NetBSD.org@localhost>
date: Thu Aug 09 08:15:26 2001 +0000
description:
be consistent and use "u_char" instead of "unsigned char"
diffstat:
sys/ufs/ffs/ffs_extern.h | 8 ++++----
sys/ufs/ffs/ffs_subr.c | 10 +++++-----
2 files changed, 9 insertions(+), 9 deletions(-)
diffs (63 lines):
diff -r 1746f7fda92d -r d37859d20380 sys/ufs/ffs/ffs_extern.h
--- a/sys/ufs/ffs/ffs_extern.h Thu Aug 09 08:10:17 2001 +0000
+++ b/sys/ufs/ffs/ffs_extern.h Thu Aug 09 08:15:26 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ffs_extern.h,v 1.17 2000/11/27 08:39:54 chs Exp $ */
+/* $NetBSD: ffs_extern.h,v 1.18 2001/08/09 08:15:26 lukem Exp $ */
/*-
* Copyright (c) 1991, 1993, 1994
@@ -107,10 +107,10 @@
#ifdef DIAGNOSTIC
void ffs_checkoverlap __P((struct buf *, struct inode *));
#endif
-int ffs_isblock __P((struct fs *, unsigned char *, ufs_daddr_t));
-int ffs_isfreeblock __P((struct fs *, unsigned char *, ufs_daddr_t));
+int ffs_isblock __P((struct fs *, u_char *, ufs_daddr_t));
+int ffs_isfreeblock __P((struct fs *, u_char *, ufs_daddr_t));
void ffs_clrblock __P((struct fs *, u_char *, ufs_daddr_t));
-void ffs_setblock __P((struct fs *, unsigned char *, ufs_daddr_t));
+void ffs_setblock __P((struct fs *, u_char *, ufs_daddr_t));
/* ffs_vfsops.c */
void ffs_init __P((void));
diff -r 1746f7fda92d -r d37859d20380 sys/ufs/ffs/ffs_subr.c
--- a/sys/ufs/ffs/ffs_subr.c Thu Aug 09 08:10:17 2001 +0000
+++ b/sys/ufs/ffs/ffs_subr.c Thu Aug 09 08:15:26 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ffs_subr.c,v 1.15 2000/03/30 12:41:12 augustss Exp $ */
+/* $NetBSD: ffs_subr.c,v 1.16 2001/08/09 08:15:26 lukem Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -178,10 +178,10 @@
int
ffs_isblock(fs, cp, h)
struct fs *fs;
- unsigned char *cp;
+ u_char *cp;
ufs_daddr_t h;
{
- unsigned char mask;
+ u_char mask;
switch ((int)fs->fs_frag) {
case 8:
@@ -206,7 +206,7 @@
int
ffs_isfreeblock(fs, cp, h)
struct fs *fs;
- unsigned char *cp;
+ u_char *cp;
ufs_daddr_t h;
{
@@ -258,7 +258,7 @@
void
ffs_setblock(fs, cp, h)
struct fs *fs;
- unsigned char *cp;
+ u_char *cp;
ufs_daddr_t h;
{
Home |
Main Index |
Thread Index |
Old Index