*: add optimization barrier to all "G trick" locations
[oweals/busybox.git] / miscutils / less.c
index da595f428ea2c2c3b7a7457ed51be2aec6d645b8..8d4f7ecd41580a6b58842cc4c4f7cf8046319a71 100644 (file)
@@ -153,14 +153,14 @@ struct globals {
 #define term_orig           (G.term_orig         )
 #define term_less           (G.term_less         )
 #define INIT_G() do { \
-               PTR_TO_GLOBALS = xzalloc(sizeof(G)); \
-               less_gets_pos = -1; \
-               empty_line_marker = "~"; \
-               num_files = 1; \
-               current_file = 1; \
-               eof_error = 1; \
-               terminated = 1; \
-       } while (0)
+       SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
+       less_gets_pos = -1; \
+       empty_line_marker = "~"; \
+       num_files = 1; \
+       current_file = 1; \
+       eof_error = 1; \
+       terminated = 1; \
+} while (0)
 
 /* Reset terminal input to normal */
 static void set_tty_cooked(void)