From 7049ff8696c3c2a1be0f9901d7e2473568b8f918 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 25 Jun 2008 09:53:17 +0000 Subject: whitespace fixes. no code changes --- miscutils/dc.c | 3 +-- miscutils/fbsplash.c | 7 +++---- miscutils/hdparm.c | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) (limited to 'miscutils') 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( #define pointer (G.pointer ) #define base (G.base ) #define stack (G.stack ) -#define INIT_G() do { \ -} while (0) +#define INIT_G() do { } while (0) static 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 { struct fb_fix_screeninfo scr_fix; }; #define G (*ptr_to_globals) -#define INIT_G() \ - do { \ - SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \ - } while (0) +#define INIT_G() do { \ + SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \ +} while (0) #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) .masks = { 0x100, 0x001, 0x200, 0x002, 0x400, 0x004 }, .labels = "*\0""udma0 \0""*\0""udma1 \0""*\0""udma2 \0", }; - + printf("\n UDMA modes: "); print_flags(&ultra_modes1, id->dma_ultra); #ifdef __NEW_HD_DRIVE_ID -- cgit v1.2.3