diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 09:05:14 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 09:05:14 +0100 |
commit | 47367e1d50b81501e8a6ce215f8be4eeacdda693 (patch) | |
tree | 28be64a4a758a274ef2459628ec29384722cd3fb /networking/nc.c | |
parent | e32b64c4ec9272295df6852fb2a2888d7799d2f0 (diff) | |
download | busybox-w32-47367e1d50b81501e8a6ce215f8be4eeacdda693.tar.gz busybox-w32-47367e1d50b81501e8a6ce215f8be4eeacdda693.tar.bz2 busybox-w32-47367e1d50b81501e8a6ce215f8be4eeacdda693.zip |
Convert all networking/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/nc.c')
-rw-r--r-- | networking/nc.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/networking/nc.c b/networking/nc.c index 13a9b48a8..1b70434ac 100644 --- a/networking/nc.c +++ b/networking/nc.c | |||
@@ -6,10 +6,6 @@ | |||
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | |||
10 | #include "libbb.h" | ||
11 | #include "common_bufsiz.h" | ||
12 | |||
13 | //config:config NC | 9 | //config:config NC |
14 | //config: bool "nc" | 10 | //config: bool "nc" |
15 | //config: default y | 11 | //config: default y |
@@ -43,6 +39,12 @@ | |||
43 | //config: -s ADDR, -n, -u, -v, -o FILE, -z options, but loses | 39 | //config: -s ADDR, -n, -u, -v, -o FILE, -z options, but loses |
44 | //config: busybox-specific extensions: -f FILE. | 40 | //config: busybox-specific extensions: -f FILE. |
45 | 41 | ||
42 | //applet:IF_NC(APPLET(nc, BB_DIR_USR_BIN, BB_SUID_DROP)) | ||
43 | |||
44 | //kbuild:lib-$(CONFIG_NC) += nc.o | ||
45 | |||
46 | #include "libbb.h" | ||
47 | #include "common_bufsiz.h" | ||
46 | #if ENABLE_NC_110_COMPAT | 48 | #if ENABLE_NC_110_COMPAT |
47 | # include "nc_bloaty.c" | 49 | # include "nc_bloaty.c" |
48 | #else | 50 | #else |