diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-03-15 08:29:22 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-03-15 08:29:22 +0000 |
commit | c7bda1ce659294d6e22c06e087f6f265983c7578 (patch) | |
tree | 4c6d2217f4d8306c59cf1096f8664e1cfd167213 /applets | |
parent | 8854004b41065b3d081af7f3df13a100b0c8bfbe (diff) | |
download | busybox-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz |
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'applets')
-rw-r--r-- | applets/Makefile | 2 | ||||
-rw-r--r-- | applets/Makefile.in | 2 | ||||
-rw-r--r-- | applets/applets.c | 2 | ||||
-rw-r--r-- | applets/busybox.c | 20 |
4 files changed, 13 insertions, 13 deletions
diff --git a/applets/Makefile b/applets/Makefile index f4ebb1496..5f9167442 100644 --- a/applets/Makefile +++ b/applets/Makefile @@ -1,6 +1,6 @@ # Makefile for busybox # -# Copyright (C) 1999-2003 by Erik Andersen <andersen@codepoet.org> +# Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/applets/Makefile.in b/applets/Makefile.in index cb6c647df..79582e069 100644 --- a/applets/Makefile.in +++ b/applets/Makefile.in @@ -1,6 +1,6 @@ # Makefile for busybox # -# Copyright (C) 1999-2003 by Erik Andersen <andersen@codepoet.org> +# Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/applets/applets.c b/applets/applets.c index 9dc69f36f..7d8adfb65 100644 --- a/applets/applets.c +++ b/applets/applets.c @@ -423,7 +423,7 @@ static void parse_config_file(void) } /* Now get the the user/group info. */ - + s = (char *) bb_skip_whitespace(e); /* Note: We require whitespace between the mode and the diff --git a/applets/busybox.c b/applets/busybox.c index dfcf400e0..dbb5e176b 100644 --- a/applets/busybox.c +++ b/applets/busybox.c @@ -13,7 +13,7 @@ int been_there_done_that = 0; /* Also used in applets.c */ const char *bb_applet_name; #ifdef CONFIG_FEATURE_INSTALLER -/* +/* * directory table * this should be consistent w/ the enum, busybox.h::Location, * or else... @@ -32,7 +32,7 @@ static const char* const install_dir[] = { /* abstract link() */ typedef int (*__link_f)(const char *, const char *); -/* +/* * Where in the filesystem is this busybox? * [return] * malloc'd string w/ full pathname of busybox's location @@ -52,7 +52,7 @@ static void install_links(const char *busybox, int use_symbolic_links) int i; int rc; - if (use_symbolic_links) + if (use_symbolic_links) Link = symlink; for (i = 0; applets[i].name != NULL; i++) { @@ -82,7 +82,7 @@ int main(int argc, char **argv) bb_applet_name = s; } -#ifdef CONFIG_LOCALE_SUPPORT +#ifdef CONFIG_LOCALE_SUPPORT #ifdef CONFIG_INIT if(getpid()!=1) /* Do not set locale for `init' */ #endif @@ -100,9 +100,9 @@ int busybox_main(int argc, char **argv) { int col = 0, len, i; -#ifdef CONFIG_FEATURE_INSTALLER - /* - * This style of argument parsing doesn't scale well +#ifdef CONFIG_FEATURE_INSTALLER + /* + * This style of argument parsing doesn't scale well * in the event that busybox starts wanting more --options. * If someone has a cleaner approach, by all means implement it. */ @@ -113,8 +113,8 @@ int busybox_main(int argc, char **argv) /* to use symlinks, or not to use symlinks... */ if (argc > 2) { - if ((strcmp(argv[2], "-s") == 0)) { - use_symbolic_links = 1; + if ((strcmp(argv[2], "-s") == 0)) { + use_symbolic_links = 1; } } @@ -150,7 +150,7 @@ int busybox_main(int argc, char **argv) "\tBusyBox is a multi-call binary that combines many common Unix\n" "\tutilities into a single executable. Most people will create a\n" "\tlink to busybox for each function they wish to use, and BusyBox\n" - "\twill act like whatever it was invoked as.\n" + "\twill act like whatever it was invoked as.\n" "\nCurrently defined functions:\n", bb_msg_full_version); while (a->name != 0) { |