summaryrefslogtreecommitdiff
path: root/coreutils
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 /coreutils
parentf26e3d2e41cc7d2fabcf5c2e777306c36a8d5868 (diff)
downloadbusybox-w32-7049ff8696c3c2a1be0f9901d7e2473568b8f918.tar.gz
busybox-w32-7049ff8696c3c2a1be0f9901d7e2473568b8f918.tar.bz2
busybox-w32-7049ff8696c3c2a1be0f9901d7e2473568b8f918.zip
whitespace fixes. no code changes
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/ls.c4
-rw-r--r--coreutils/stty.c9
2 files changed, 6 insertions, 7 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index 83ad8cd00..7fddefef5 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -169,12 +169,12 @@ enum {
169#endif 169#endif
170#define current_time_t (G.current_time_t) 170#define current_time_t (G.current_time_t)
171/* memset: we have to zero it out because of NOEXEC */ 171/* memset: we have to zero it out because of NOEXEC */
172#define INIT_G() { \ 172#define INIT_G() do { \
173 memset(&G, 0, sizeof(G)); \ 173 memset(&G, 0, sizeof(G)); \
174 USE_FEATURE_AUTOWIDTH(tabstops = COLUMN_GAP;) \ 174 USE_FEATURE_AUTOWIDTH(tabstops = COLUMN_GAP;) \
175 USE_FEATURE_AUTOWIDTH(terminal_width = TERMINAL_WIDTH;) \ 175 USE_FEATURE_AUTOWIDTH(terminal_width = TERMINAL_WIDTH;) \
176 USE_FEATURE_LS_TIMESTAMPS(time(&current_time_t);) \ 176 USE_FEATURE_LS_TIMESTAMPS(time(&current_time_t);) \
177} 177} while (0)
178 178
179 179
180#if ENABLE_FEATURE_ASSUME_UNICODE 180#if ENABLE_FEATURE_ASSUME_UNICODE
diff --git a/coreutils/stty.c b/coreutils/stty.c
index a17955a6a..c9f11a8da 100644
--- a/coreutils/stty.c
+++ b/coreutils/stty.c
@@ -627,11 +627,10 @@ struct globals {
627 char buf[10]; 627 char buf[10];
628}; 628};
629#define G (*(struct globals*)&bb_common_bufsiz1) 629#define G (*(struct globals*)&bb_common_bufsiz1)
630#define INIT_G() \ 630#define INIT_G() do { \
631 do { \ 631 G.device_name = bb_msg_standard_input; \
632 G.device_name = bb_msg_standard_input; \ 632 G.max_col = 80; \
633 G.max_col = 80; \ 633} while (0)
634 } while (0)
635 634
636 635
637/* Return a string that is the printable representation of character CH */ 636/* Return a string that is the printable representation of character CH */