whitespace fixes
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 2 Feb 2011 23:05:48 +0000 (00:05 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 2 Feb 2011 23:05:48 +0000 (00:05 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
13 files changed:
applets/usage_pod.c
archival/lzop.c
e2fsprogs/old_e2fsprogs/ext2fs/ext2fs_inline.c
editors/sed.c
libbb/crc32.c
libbb/getopt32.c
loginutils/getty.c
modutils/modprobe.c
networking/httpd_ssi.c
networking/ntpd.c
procps/pstree.c
shell/shell_common.c
util-linux/flock.c

index da0baef..0b1c4aa 100644 (file)
@@ -31,8 +31,8 @@
 #include "usage.h"
 #define MAKE_USAGE(aname, usage) { aname, usage },
 static struct usage_data {
-        const char *aname;
-        const char *usage;
+       const char *aname;
+       const char *usage;
 } usage_array[] = {
 #include "applets.h"
 };
index 094e78c..62455c3 100644 (file)
@@ -401,7 +401,7 @@ struct globals {
 #define INIT_G() do { } while (0)
 //#define G (*ptr_to_globals)
 //#define INIT_G() do {
-//        SET_PTR_TO_GLOBALS(xzalloc(sizeof(G)));
+//     SET_PTR_TO_GLOBALS(xzalloc(sizeof(G)));
 //} while (0)
 
 
index b9aab44..7d37d23 100644 (file)
@@ -155,8 +155,8 @@ int ext2fs_group_of_ino(ext2_filsys fs, ext2_ino_t ino)
 blk_t ext2fs_inode_data_blocks(ext2_filsys fs,
                                        struct ext2_inode *inode)
 {
-       return inode->i_blocks -
-             (inode->i_file_acl ? fs->blocksize >> 9 : 0);
+       return inode->i_blocks -
+               (inode->i_file_acl ? fs->blocksize >> 9 : 0);
 }
 
 
index b91acfb..d355524 100644 (file)
@@ -124,7 +124,7 @@ struct globals {
 } FIX_ALIASING;
 #define G (*(struct globals*)&bb_common_bufsiz1)
 struct BUG_G_too_big {
-        char BUG_G_too_big[sizeof(G) <= COMMON_BUFSIZE ? 1 : -1];
+       char BUG_G_too_big[sizeof(G) <= COMMON_BUFSIZE ? 1 : -1];
 };
 #define INIT_G() do { \
        G.sed_cmd_tail = &G.sed_cmd_head; \
index c63bf07..ac9836c 100644 (file)
@@ -59,7 +59,7 @@ uint32_t FAST_FUNC crc32_block_endian0(uint32_t val, const void *buf, unsigned l
        const void *end = (uint8_t*)buf + len;
 
        while (buf != end) {
-                val = crc_table[(uint8_t)val ^ *(uint8_t*)buf] ^ (val >> 8);
+               val = crc_table[(uint8_t)val ^ *(uint8_t*)buf] ^ (val >> 8);
                buf = (uint8_t*)buf + 1;
        }
        return val;
index abd4120..f3f1cfc 100644 (file)
@@ -80,9 +80,9 @@ const char *applet_long_options
         This struct allows you to define long options:
 
         static const char applet_longopts[] ALIGN1 =
-               //"name\0" has_arg val
-               "verbose\0" No_argument "v"
-               ;
+                //"name\0" has_arg val
+                "verbose\0" No_argument "v"
+                ;
         applet_long_options = applet_longopts;
 
         The last member of struct option (val) typically is set to
@@ -226,7 +226,7 @@ Special characters:
         if specified together.  In this case you must set
         opt_complementary = "b--cf:c--bf:f--bc".  If two of the
         mutually exclusive options are found, getopt32 will call
-       bb_show_usage() and die.
+        bb_show_usage() and die.
 
  "x--x" Variation of the above, it means that -x option should occur
         at most once.
index 34f72c4..3f20c8e 100644 (file)
@@ -334,7 +334,7 @@ static void termios_final(void)
         * IMAXBEL Echo BEL on input line too long
         * IUTF8   Appears to affect tty's idea of char widths,
         *         observed to improve backspacing through Unicode chars
-         */
+        */
 
        /* line buffered input (NL or EOL or EOF chars end a line);
         * recognize INT/QUIT/SUSP chars;
index 8d2ccc5..0d28da7 100644 (file)
@@ -170,7 +170,7 @@ struct globals {
 #define G (*(struct globals*)&bb_common_bufsiz1)
 #define INIT_G() do { } while (0)
 struct BUG_G_too_big {
-        char BUG_G_too_big[sizeof(G) <= COMMON_BUFSIZE ? 1 : -1];
+       char BUG_G_too_big[sizeof(G) <= COMMON_BUFSIZE ? 1 : -1];
 };
 
 
index 87f43fc..cfe64eb 100644 (file)
@@ -52,9 +52,9 @@ httpd_ssi.c -o httpd_ssi
 
 static char* skip_whitespace(char *s)
 {
-        while (*s == ' ' || *s == '\t') ++s;
+       while (*s == ' ' || *s == '\t') ++s;
 
-        return s;
+       return s;
 }
 
 static char line[64 * 1024];
index 8fe529e..3ed05ba 100644 (file)
@@ -882,7 +882,7 @@ fit(peer_t *p, double rd)
 //     /* Do we have a loop? */
 //     if (p->refid == p->dstaddr || p->refid == s.refid)
 //             return 0;
-        return 1;
+       return 1;
 }
 static peer_t*
 select_and_cluster(void)
index ddf5dba..4cd8cb4 100644 (file)
@@ -76,7 +76,7 @@ struct globals {
 };
 #define G (*ptr_to_globals)
 #define INIT_G() do { \
-        SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
+       SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
 } while (0)
 
 
index e9effd2..f02ed81 100644 (file)
@@ -368,9 +368,9 @@ shell_builtin_ulimit(char **argv)
 #endif
        /* optarg = NULL; opterr = 0; optopt = 0; - do we need this?? */
 
-        argc = 1;
-        while (argv[argc])
-                argc++;
+       argc = 1;
+       while (argv[argc])
+               argc++;
 
        opts = 0;
        while (1) {
index be3d552..77fe1f8 100644 (file)
@@ -19,7 +19,7 @@ int flock_main(int argc UNUSED_PARAM, char **argv)
        };
 
 #if ENABLE_LONG_OPTS
-        static const char getopt_longopts[] ALIGN1 =
+       static const char getopt_longopts[] ALIGN1 =
                "shared\0"      No_argument       "s"
                "exclusive\0"   No_argument       "x"
                "unlock\0"      No_argument       "u"