aboutsummaryrefslogtreecommitdiff
path: root/miscutils/fbsplash.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/fbsplash.c')
-rw-r--r--miscutils/fbsplash.c7
1 files changed, 3 insertions, 4 deletions
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