summaryrefslogtreecommitdiff
path: root/applets/busybox.c
diff options
context:
space:
mode:
authorRob Landley2006-09-20 21:41:13 +0000
committerRob Landley2006-09-20 21:41:13 +0000
commiteb84a42fdd1d1c2e228dcd691a67b8ad5eeda026 (patch)
tree0669d5a1cd4e78c17134396a03145ba40a6f16f1 /applets/busybox.c
parent94b383d4196f06e3de2f83631b7f9bb45780606d (diff)
downloadbusybox-eb84a42fdd1d1c2e228dcd691a67b8ad5eeda026.zip
busybox-eb84a42fdd1d1c2e228dcd691a67b8ad5eeda026.tar.gz
The Software Freedom Law Center wants us to add a copyright notice to the
generated binaries, to make copyright enforcement easier. Our liason with them (Bradley Kuhn) suggested the following text: > Copyright (C) YEAR-2006  Erik Andersen, Rob Landley, and others. > Licensed under GPLv2.  See source distribution for full notice. And the busybox help message seems the least offensive place to put it. (At some point in the future, I need to strip 128 bytes from the binary to feel good about this, though. :) Minor header file cleanup while I was there, since libbb.h already #includes most of that stuff...
Diffstat (limited to 'applets/busybox.c')
-rw-r--r--applets/busybox.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/applets/busybox.c b/applets/busybox.c
index a92ddbd..53eb363 100644
--- a/applets/busybox.c
+++ b/applets/busybox.c
@@ -2,19 +2,9 @@
/*
* BusyBox' main applet dispatcher.
*
- * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
+ * Licensed under GPLv2, see file LICENSE in this tarball for details.
*/
#include "busybox.h"
-#include <stdio.h>
-#include <string.h>
-#include <unistd.h>
-#include <errno.h>
-#include <stdlib.h>
-#if ENABLE_LOCALE_SUPPORT
-#include <locale.h>
-#else
-#define setlocale(x,y)
-#endif
const char *bb_applet_name ATTRIBUTE_EXTERNALLY_VISIBLE;
@@ -128,7 +118,9 @@ int busybox_main(int argc, char **argv)
output_width -= 20;
} else output_width = 60;
- printf("%s\n\n"
+ printf("%s\n"
+ "Copyright (C) 1998-2006  Erik Andersen, Rob Landley, and others.\n"
+ "Licensed under GPLv2.  See source distribution for full notice.\n\n"
"Usage: busybox [function] [arguments]...\n"
" or: [function] [arguments]...\n\n"
"\tBusyBox is a multi-call binary that combines many common Unix\n"