Fixed some style bugs in the removal of __P(()). Continuation lines

were not outdented to preserve non-KNF lining up of code with parentheses.
Switch to KNF formatting.
This commit is contained in:
Bruce Evans 2002-03-23 13:10:13 +00:00
parent 3f31f1ab4c
commit 995b73dcc3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=93014
6 changed files with 16 additions and 22 deletions

View File

@ -83,12 +83,11 @@ int ext2_group_sparse(int group);
void ext2_discard_prealloc(struct inode *);
int ext2_inactive(struct vop_inactive_args *);
int ext2_new_block(struct mount * mp, unsigned long goal,
u_int32_t * prealloc_count,
u_int32_t * prealloc_block);
u_int32_t *prealloc_count, u_int32_t *prealloc_block);
ino_t ext2_new_inode(const struct inode * dir, int mode);
unsigned long ext2_count_free(struct buf *map, unsigned int numchars);
void ext2_free_blocks(struct mount * mp, unsigned long block,
unsigned long count);
void ext2_free_blocks(struct mount *mp, unsigned long block,
unsigned long count);
void ext2_free_inode(struct inode * inode);
void ext2_ei2di(struct ext2_inode *ei, struct dinode *di);
void ext2_di2ei(struct dinode *di, struct ext2_inode *ei);

View File

@ -111,9 +111,8 @@ static u_char dt_to_ext2_ft[] = {
((dt) > sizeof(dt_to_ext2_ft) / sizeof(dt_to_ext2_ft[0]) ? \
EXT2_FT_UNKNOWN : dt_to_ext2_ft[(dt)])
static int ext2_dirbadentry(struct vnode *dp,
struct ext2_dir_entry_2 *de,
int entryoffsetinblock);
static int ext2_dirbadentry(struct vnode *dp, struct ext2_dir_entry_2 *de,
int entryoffsetinblock);
/*
* Vnode op for reading directories.

View File

@ -108,11 +108,10 @@ VFS_SET(ext2fs_vfsops, ext2fs, 0);
static int ext2fs_inode_hash_lock;
static int ext2_check_sb_compat(struct ext2_super_block *es,
dev_t dev, int ronly);
static int ext2_check_sb_compat(struct ext2_super_block *es, dev_t dev,
int ronly);
static int compute_sb_data(struct vnode * devvp,
struct ext2_super_block * es,
struct ext2_sb_info * fs);
struct ext2_super_block * es, struct ext2_sb_info * fs);
#ifdef notyet
static int ext2_mountroot(void);

View File

@ -83,12 +83,11 @@ int ext2_group_sparse(int group);
void ext2_discard_prealloc(struct inode *);
int ext2_inactive(struct vop_inactive_args *);
int ext2_new_block(struct mount * mp, unsigned long goal,
u_int32_t * prealloc_count,
u_int32_t * prealloc_block);
u_int32_t *prealloc_count, u_int32_t *prealloc_block);
ino_t ext2_new_inode(const struct inode * dir, int mode);
unsigned long ext2_count_free(struct buf *map, unsigned int numchars);
void ext2_free_blocks(struct mount * mp, unsigned long block,
unsigned long count);
void ext2_free_blocks(struct mount *mp, unsigned long block,
unsigned long count);
void ext2_free_inode(struct inode * inode);
void ext2_ei2di(struct ext2_inode *ei, struct dinode *di);
void ext2_di2ei(struct dinode *di, struct ext2_inode *ei);

View File

@ -111,9 +111,8 @@ static u_char dt_to_ext2_ft[] = {
((dt) > sizeof(dt_to_ext2_ft) / sizeof(dt_to_ext2_ft[0]) ? \
EXT2_FT_UNKNOWN : dt_to_ext2_ft[(dt)])
static int ext2_dirbadentry(struct vnode *dp,
struct ext2_dir_entry_2 *de,
int entryoffsetinblock);
static int ext2_dirbadentry(struct vnode *dp, struct ext2_dir_entry_2 *de,
int entryoffsetinblock);
/*
* Vnode op for reading directories.

View File

@ -108,11 +108,10 @@ VFS_SET(ext2fs_vfsops, ext2fs, 0);
static int ext2fs_inode_hash_lock;
static int ext2_check_sb_compat(struct ext2_super_block *es,
dev_t dev, int ronly);
static int ext2_check_sb_compat(struct ext2_super_block *es, dev_t dev,
int ronly);
static int compute_sb_data(struct vnode * devvp,
struct ext2_super_block * es,
struct ext2_sb_info * fs);
struct ext2_super_block * es, struct ext2_sb_info * fs);
#ifdef notyet
static int ext2_mountroot(void);