aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-09-21 01:59:15 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-09-21 01:59:15 +0200
commit16714245f9a16ce3725aab079aea7b0d28c6b32f (patch)
tree41edbcd1c279b2baae2d5e5751639076e0a3bfad /procps
parent5c6ba6c56f9653488e1d805e727bb06c39ed23fa (diff)
downloadbusybox-w32-16714245f9a16ce3725aab079aea7b0d28c6b32f.tar.gz
busybox-w32-16714245f9a16ce3725aab079aea7b0d28c6b32f.tar.bz2
busybox-w32-16714245f9a16ce3725aab079aea7b0d28c6b32f.zip
add INIT_G()'s. No code changes.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps')
-rw-r--r--procps/top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/top.c b/procps/top.c
index 011bbf183..15eb624cc 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -126,7 +126,6 @@ struct BUG_bad_size {
126 char BUG_G_too_big[sizeof(G) <= COMMON_BUFSIZE ? 1 : -1]; 126 char BUG_G_too_big[sizeof(G) <= COMMON_BUFSIZE ? 1 : -1];
127 char BUG_line_buf_too_small[LINE_BUF_SIZE > 80 ? 1 : -1]; 127 char BUG_line_buf_too_small[LINE_BUF_SIZE > 80 ? 1 : -1];
128}; 128};
129#define INIT_G() do { } while (0)
130#define top (G.top ) 129#define top (G.top )
131#define ntop (G.ntop ) 130#define ntop (G.ntop )
132#define sort_field (G.sort_field ) 131#define sort_field (G.sort_field )
@@ -143,6 +142,7 @@ struct BUG_bad_size {
143#define num_cpus (G.num_cpus ) 142#define num_cpus (G.num_cpus )
144#define total_pcpu (G.total_pcpu ) 143#define total_pcpu (G.total_pcpu )
145#define line_buf (G.line_buf ) 144#define line_buf (G.line_buf )
145#define INIT_G() do { } while (0)
146 146
147enum { 147enum {
148 OPT_d = (1 << 0), 148 OPT_d = (1 << 0),