diff options
author | Denys Vlasenko | 2016-11-23 14:46:56 +0100 |
---|---|---|
committer | Denys Vlasenko | 2016-11-23 14:46:56 +0100 |
commit | af3f42011628585cd5c8f5c1fd4b43f2e370a23d (patch) | |
tree | 125ee16d5080008fcf459ad55d91af1dcd488ef9 /coreutils/cal.c | |
parent | 5b966c6180c139fba6846d632fd9bc0c34a8e1bc (diff) | |
download | busybox-af3f42011628585cd5c8f5c1fd4b43f2e370a23d.zip busybox-af3f42011628585cd5c8f5c1fd4b43f2e370a23d.tar.gz |
Convert all coreutils/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/cal.c')
-rw-r--r-- | coreutils/cal.c | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/coreutils/cal.c b/coreutils/cal.c index 12c46b1..af02608 100644 --- a/coreutils/cal.c +++ b/coreutils/cal.c @@ -6,17 +6,25 @@ * * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ +/* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org) + * + * Major size reduction... over 50% (>1.5k) on i386. + */ +//config:config CAL +//config: bool "cal" +//config: default y +//config: help +//config: cal is used to display a monthly calendar. + +//applet:IF_CAL(APPLET(cal, BB_DIR_USR_BIN, BB_SUID_DROP)) + +//kbuild:lib-$(CONFIG_CAL) += cal.o /* BB_AUDIT SUSv3 compliant with -j and -y extensions (from util-linux). */ /* BB_AUDIT BUG: The output of 'cal -j 1752' is incorrect. The upstream * BB_AUDIT BUG: version in util-linux seems to be broken as well. */ /* http://www.opengroup.org/onlinepubs/007904975/utilities/cal.html */ -/* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org) - * - * Major size reduction... over 50% (>1.5k) on i386. - */ - //usage:#define cal_trivial_usage //usage: "[-jy] [[MONTH] YEAR]" //usage:#define cal_full_usage "\n\n" |