diff options
Diffstat (limited to 'applets/individual.c')
-rw-r--r-- | applets/individual.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/applets/individual.c b/applets/individual.c new file mode 100644 index 000000000..072168352 --- /dev/null +++ b/applets/individual.c | |||
@@ -0,0 +1,27 @@ | |||
1 | /* Minimal wrapper to build an individual busybox applet. | ||
2 | * | ||
3 | * Copyright 2005 Rob Landley <rob@landley.net | ||
4 | * | ||
5 | * Licensed under GPL version 2, see file LICENSE in this tarball for details | ||
6 | */ | ||
7 | |||
8 | const char *applet_name; | ||
9 | |||
10 | #include <stdio.h> | ||
11 | #include <stdlib.h> | ||
12 | //Ok to remove? #include "bb_config.h" | ||
13 | #include "usage.h" | ||
14 | |||
15 | int main(int argc, char *argv[]) | ||
16 | { | ||
17 | applet_name=argv[0]; | ||
18 | |||
19 | return APPLET_main(argc,argv); | ||
20 | } | ||
21 | |||
22 | void bb_show_usage(void) | ||
23 | { | ||
24 | printf(APPLET_full_usage "\n"); | ||
25 | |||
26 | exit(1); | ||
27 | } | ||