summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
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 193929c..bd93ef6 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 626cefb..07350b0 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 983de6d..a5d5b05 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