diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-29 11:46:52 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-29 11:46:52 +0200 |
commit | fb132e47370378474c68ad22c1c0cb2ccee178de (patch) | |
tree | 4f78d0fdd1c2fa2341c7d9bb17f9d98d099a238c /console-tools/showkey.c | |
parent | 66cb7bed33da605674c3d24734466b8e8a60e337 (diff) | |
download | busybox-w32-fb132e47370378474c68ad22c1c0cb2ccee178de.tar.gz busybox-w32-fb132e47370378474c68ad22c1c0cb2ccee178de.tar.bz2 busybox-w32-fb132e47370378474c68ad22c1c0cb2ccee178de.zip |
whitespace cleanup
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'console-tools/showkey.c')
-rw-r--r-- | console-tools/showkey.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/console-tools/showkey.c b/console-tools/showkey.c index b29c84d6a..e7834f702 100644 --- a/console-tools/showkey.c +++ b/console-tools/showkey.c | |||
@@ -16,9 +16,9 @@ struct globals { | |||
16 | struct termios tio, tio0; | 16 | struct termios tio, tio0; |
17 | }; | 17 | }; |
18 | #define G (*ptr_to_globals) | 18 | #define G (*ptr_to_globals) |
19 | #define kbmode (G.kbmode) | 19 | #define kbmode (G.kbmode) |
20 | #define tio (G.tio) | 20 | #define tio (G.tio) |
21 | #define tio0 (G.tio0) | 21 | #define tio0 (G.tio0) |
22 | #define INIT_G() do { \ | 22 | #define INIT_G() do { \ |
23 | SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \ | 23 | SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \ |
24 | } while (0) | 24 | } while (0) |
@@ -46,9 +46,9 @@ int showkey_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | |||
46 | int showkey_main(int argc UNUSED_PARAM, char **argv) | 46 | int showkey_main(int argc UNUSED_PARAM, char **argv) |
47 | { | 47 | { |
48 | enum { | 48 | enum { |
49 | OPT_a = (1<<0), // display the decimal/octal/hex values of the keys | 49 | OPT_a = (1<<0), // display the decimal/octal/hex values of the keys |
50 | OPT_k = (1<<1), // display only the interpreted keycodes (default) | 50 | OPT_k = (1<<1), // display only the interpreted keycodes (default) |
51 | OPT_s = (1<<2), // display only the raw scan-codes | 51 | OPT_s = (1<<2), // display only the raw scan-codes |
52 | }; | 52 | }; |
53 | 53 | ||
54 | INIT_G(); | 54 | INIT_G(); |