aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-06-25 09:53:17 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-06-25 09:53:17 +0000
commit7049ff8696c3c2a1be0f9901d7e2473568b8f918 (patch)
treec952ee767508bb76c25d6269a298aa16cad99b82 /miscutils
parentf26e3d2e41cc7d2fabcf5c2e777306c36a8d5868 (diff)
downloadbusybox-w32-7049ff8696c3c2a1be0f9901d7e2473568b8f918.tar.gz
busybox-w32-7049ff8696c3c2a1be0f9901d7e2473568b8f918.tar.bz2
busybox-w32-7049ff8696c3c2a1be0f9901d7e2473568b8f918.zip
whitespace fixes. no code changes
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/dc.c3
-rw-r--r--miscutils/fbsplash.c7
-rw-r--r--miscutils/hdparm.c2
3 files changed, 5 insertions, 7 deletions
diff --git a/miscutils/dc.c b/miscutils/dc.c
index 193929c8e..bd93ef68b 100644
--- a/miscutils/dc.c
+++ b/miscutils/dc.c
@@ -19,8 +19,7 @@ enum { STACK_SIZE = (COMMON_BUFSIZE - offsetof(struct globals, stack)) / sizeof(
19#define pointer (G.pointer ) 19#define pointer (G.pointer )
20#define base (G.base ) 20#define base (G.base )
21#define stack (G.stack ) 21#define stack (G.stack )
22#define INIT_G() do { \ 22#define INIT_G() do { } while (0)
23} while (0)
24 23
25 24
26static void push(double a) 25static void push(double a)
diff --git a/miscutils/fbsplash.c b/miscutils/fbsplash.c
index 626cefb28..07350b0cc 100644
--- a/miscutils/fbsplash.c
+++ b/miscutils/fbsplash.c
@@ -50,10 +50,9 @@ struct globals {
50 struct fb_fix_screeninfo scr_fix; 50 struct fb_fix_screeninfo scr_fix;
51}; 51};
52#define G (*ptr_to_globals) 52#define G (*ptr_to_globals)
53#define INIT_G() \ 53#define INIT_G() do { \
54 do { \ 54 SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
55 SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \ 55} while (0)
56 } while (0)
57 56
58 57
59#if DEBUG 58#if DEBUG
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c
index 983de6d7b..a5d5b05cd 100644
--- a/miscutils/hdparm.c
+++ b/miscutils/hdparm.c
@@ -1251,7 +1251,7 @@ static void dump_identity(const struct hd_driveid *id)
1251 .masks = { 0x100, 0x001, 0x200, 0x002, 0x400, 0x004 }, 1251 .masks = { 0x100, 0x001, 0x200, 0x002, 0x400, 0x004 },
1252 .labels = "*\0""udma0 \0""*\0""udma1 \0""*\0""udma2 \0", 1252 .labels = "*\0""udma0 \0""*\0""udma1 \0""*\0""udma2 \0",
1253 }; 1253 };
1254 1254
1255 printf("\n UDMA modes: "); 1255 printf("\n UDMA modes: ");
1256 print_flags(&ultra_modes1, id->dma_ultra); 1256 print_flags(&ultra_modes1, id->dma_ultra);
1257#ifdef __NEW_HD_DRIVE_ID 1257#ifdef __NEW_HD_DRIVE_ID