diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-22 23:54:17 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-22 23:54:17 +0100 |
commit | f88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541 (patch) | |
tree | 6e7fd8f8f547fcf01bb9d55da2ace429ab3b53f6 /miscutils/ttysize.c | |
parent | fb4da167114e96d7f20ef97474f976f8ffa604e7 (diff) | |
download | busybox-w32-f88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541.tar.gz busybox-w32-f88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541.tar.bz2 busybox-w32-f88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541.zip |
Convert all miscutils/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/ttysize.c')
-rw-r--r-- | miscutils/ttysize.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/miscutils/ttysize.c b/miscutils/ttysize.c index a63b731d2..135ce8535 100644 --- a/miscutils/ttysize.c +++ b/miscutils/ttysize.c | |||
@@ -18,6 +18,10 @@ | |||
18 | //config: error, but returns default 80x24. | 18 | //config: error, but returns default 80x24. |
19 | //config: Usage in shell scripts: width=`ttysize w`. | 19 | //config: Usage in shell scripts: width=`ttysize w`. |
20 | 20 | ||
21 | //applet:IF_TTYSIZE(APPLET(ttysize, BB_DIR_USR_BIN, BB_SUID_DROP)) | ||
22 | |||
23 | //kbuild:lib-$(CONFIG_TTYSIZE) += ttysize.o | ||
24 | |||
21 | //usage:#define ttysize_trivial_usage | 25 | //usage:#define ttysize_trivial_usage |
22 | //usage: "[w] [h]" | 26 | //usage: "[w] [h]" |
23 | //usage:#define ttysize_full_usage "\n\n" | 27 | //usage:#define ttysize_full_usage "\n\n" |