*: whitespace fixes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2010-10-28 18:57:19 +02:00
parent 7765095441
commit e4dcba1c10
82 changed files with 185 additions and 183 deletions

View File

@@ -65,7 +65,7 @@ int ext2fs_test_bit(unsigned int nr, const void * addr)
return (mask & *ADDR);
}
#endif /* !_EXT2_HAVE_ASM_BITOPS_ */
#endif /* !_EXT2_HAVE_ASM_BITOPS_ */
void ext2fs_warn_bitmap(errcode_t errcode, unsigned long arg,
const char *description)

View File

@@ -23,7 +23,7 @@
#endif
#if HAVE_SYS_MOUNT_H
#include <sys/param.h>
#include <sys/mount.h> /* This may define BLKFLSBUF */
#include <sys/mount.h> /* This may define BLKFLSBUF */
#endif
#include "ext2_fs.h"
@@ -38,10 +38,10 @@
*/
#ifdef __linux__
#ifndef BLKFLSBUF
#define BLKFLSBUF _IO(0x12,97) /* flush buffer cache */
#define BLKFLSBUF _IO(0x12,97) /* flush buffer cache */
#endif
#ifndef FDFLUSH
#define FDFLUSH _IO(2,0x4b) /* flush floppy disk */
#define FDFLUSH _IO(2,0x4b) /* flush floppy disk */
#endif
#endif

View File

@@ -1,8 +1,8 @@
/* vi: set sw=4 ts=4: */
/*
* inline.c --- Includes the inlined functions defined in the header
* files as standalone functions, in case the application program
* is compiled with inlining turned off.
* files as standalone functions, in case the application program
* is compiled with inlining turned off.
*
* Copyright (C) 1993, 1994 Theodore Ts'o.
*

View File

@@ -59,7 +59,7 @@ static errcode_t check_mntent_file(const char *mtab_file, const char *file,
if (S_ISBLK(st_buf.st_mode)) {
#ifndef __GNU__ /* The GNU hurd is broken with respect to stat devices */
file_rdev = st_buf.st_rdev;
#endif /* __GNU__ */
#endif /* __GNU__ */
} else {
file_dev = st_buf.st_dev;
file_ino = st_buf.st_ino;
@@ -73,7 +73,7 @@ static errcode_t check_mntent_file(const char *mtab_file, const char *file,
#ifndef __GNU__
if (file_rdev && (file_rdev == st_buf.st_rdev))
break;
#endif /* __GNU__ */
#endif /* __GNU__ */
} else {
if (file_dev && ((file_dev == st_buf.st_dev) &&
(file_ino == st_buf.st_ino)))
@@ -99,7 +99,7 @@ static errcode_t check_mntent_file(const char *mtab_file, const char *file,
goto is_root;
}
}
#endif /* __GNU__ */
#endif /* __GNU__ */
goto errout;
}
#ifndef __GNU__ /* The GNU hurd is deficient; what else is new? */
@@ -247,7 +247,7 @@ static int is_swap_device(const char *file)
if ((stat(file, &st_buf) == 0) &&
S_ISBLK(st_buf.st_mode))
file_dev = st_buf.st_rdev;
#endif /* __GNU__ */
#endif /* __GNU__ */
if (!(f = fopen_for_read("/proc/swaps")))
return 0;
@@ -271,7 +271,7 @@ static int is_swap_device(const char *file)
ret++;
break;
}
#endif /* __GNU__ */
#endif /* __GNU__ */
}
fclose(f);
return ret;

View File

@@ -12,10 +12,10 @@
/*
* History:
* 93/10/30 - Creation
* 93/11/13 - Replace stat() calls by lstat() to avoid loops
* 94/02/27 - Integrated in Ted's distribution
* 98/12/29 - Display version info only when -V specified (G M Sipe)
* 93/10/30 - Creation
* 93/11/13 - Replace stat() calls by lstat() to avoid loops
* 94/02/27 - Integrated in Ted's distribution
* 98/12/29 - Display version info only when -V specified (G M Sipe)
*/
#include <sys/types.h>

View File

@@ -43,7 +43,7 @@ do { \
//usage: "Adjust filesystem options on ext[23] filesystems"
enum {
OPT_L = 1 << 0, // label
OPT_L = 1 << 0, // label
OPT_c = 1 << 1, // max mount count
OPT_i = 1 << 2, // check interval
};