diff options
author | Eric Andersen | 2004-03-15 08:29:22 +0000 |
---|---|---|
committer | Eric Andersen | 2004-03-15 08:29:22 +0000 |
commit | c7bda1ce659294d6e22c06e087f6f265983c7578 (patch) | |
tree | 4c6d2217f4d8306c59cf1096f8664e1cfd167213 /console-tools | |
parent | 8854004b41065b3d081af7f3df13a100b0c8bfbe (diff) | |
download | busybox-c7bda1ce659294d6e22c06e087f6f265983c7578.zip busybox-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz |
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'console-tools')
-rw-r--r-- | console-tools/Makefile | 2 | ||||
-rw-r--r-- | console-tools/Makefile.in | 2 | ||||
-rw-r--r-- | console-tools/chvt.c | 2 | ||||
-rw-r--r-- | console-tools/clear.c | 2 | ||||
-rw-r--r-- | console-tools/deallocvt.c | 4 | ||||
-rw-r--r-- | console-tools/dumpkmap.c | 14 | ||||
-rw-r--r-- | console-tools/loadkmap.c | 2 | ||||
-rw-r--r-- | console-tools/openvt.c | 2 | ||||
-rw-r--r-- | console-tools/reset.c | 2 | ||||
-rw-r--r-- | console-tools/setkeycodes.c | 4 |
10 files changed, 18 insertions, 18 deletions
diff --git a/console-tools/Makefile b/console-tools/Makefile index d54c778..2ee51a5 100644 --- a/console-tools/Makefile +++ b/console-tools/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/console-tools/Makefile.in b/console-tools/Makefile.in index 032b194..1d756c7 100644 --- a/console-tools/Makefile.in +++ b/console-tools/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/console-tools/chvt.c b/console-tools/chvt.c index 8ea062c..3398892 100644 --- a/console-tools/chvt.c +++ b/console-tools/chvt.c @@ -2,7 +2,7 @@ /* * Mini chvt implementation 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/console-tools/clear.c b/console-tools/clear.c index 45976e1..e43ed0e 100644 --- a/console-tools/clear.c +++ b/console-tools/clear.c @@ -2,7 +2,7 @@ /* * Mini clear implementation 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/console-tools/deallocvt.c b/console-tools/deallocvt.c index 363ecdf..08a9d21 100644 --- a/console-tools/deallocvt.c +++ b/console-tools/deallocvt.c @@ -3,13 +3,13 @@ * Disallocate virtual terminal(s) * * Copyright (C) 2003 by Tito Ragusa <farmatito@tiscali.it> - * 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 * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/console-tools/dumpkmap.c b/console-tools/dumpkmap.c index 19ba77d..6085a44 100644 --- a/console-tools/dumpkmap.c +++ b/console-tools/dumpkmap.c @@ -56,7 +56,7 @@ int dumpkmap_main(int argc, char **argv) write(1, magic, 7); for (i=0; i < MAX_NR_KEYMAPS; i++) flags[i]=0; - flags[0]=1; + flags[0]=1; flags[1]=1; flags[2]=1; flags[4]=1; @@ -66,9 +66,9 @@ int dumpkmap_main(int argc, char **argv) flags[9]=1; flags[10]=1; flags[12]=1; - + /* dump flags */ - for (i=0; i < MAX_NR_KEYMAPS; i++) write(1,&flags[i],1); + for (i=0; i < MAX_NR_KEYMAPS; i++) write(1,&flags[i],1); for (i = 0; i < MAX_NR_KEYMAPS; i++) { if (flags[i] == 1) { @@ -76,13 +76,13 @@ int dumpkmap_main(int argc, char **argv) ke.kb_index = j; ke.kb_table = i; if (ioctl(fd, KDGKBENT, &ke) < 0) { - + bb_error_msg("ioctl returned: %m, %s, %s, %xqq", (char *)&ke.kb_index,(char *)&ke.kb_table,(int)&ke.kb_value); } else { - write(1,(void*)&ke.kb_value,2); - } - + write(1,(void*)&ke.kb_value,2); + } + } } } diff --git a/console-tools/loadkmap.c b/console-tools/loadkmap.c index 5b2f31a..849d747 100644 --- a/console-tools/loadkmap.c +++ b/console-tools/loadkmap.c @@ -75,7 +75,7 @@ int loadkmap_main(int argc, char **argv) } } - /* Don't bother to close files. Exit does that + /* Don't bother to close files. Exit does that * automagically, so we can save a few bytes */ /* close(fd); */ return EXIT_SUCCESS; diff --git a/console-tools/openvt.c b/console-tools/openvt.c index b0db33b..5f24457 100644 --- a/console-tools/openvt.c +++ b/console-tools/openvt.c @@ -56,7 +56,7 @@ int openvt_main(int argc, char **argv) if (setsid() < 0) { #endif - bb_perror_msg_and_die("Unable to set new session"); + bb_perror_msg_and_die("Unable to set new session"); } close(0); /* so that new vt becomes stdin */ diff --git a/console-tools/reset.c b/console-tools/reset.c index 3f9ae98..9d38e7a 100644 --- a/console-tools/reset.c +++ b/console-tools/reset.c @@ -2,7 +2,7 @@ /* * Mini reset implementation for busybox * - * Copyright (C) 1999-2003 by Erik Andersen <andersen@codepoet.org> + * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> * Written by Erik Andersen and Kent Robotti <robotti@metconnect.com> * * This program is free software; you can redistribute it and/or modify diff --git a/console-tools/setkeycodes.c b/console-tools/setkeycodes.c index 0a5366b..169d0bb 100644 --- a/console-tools/setkeycodes.c +++ b/console-tools/setkeycodes.c @@ -35,7 +35,7 @@ struct kbkeycode { }; static const int KDSETKEYCODE = 0x4B4D; /* write kernel keycode table entry */ -extern int +extern int setkeycodes_main(int argc, char** argv) { char *ep; @@ -45,7 +45,7 @@ setkeycodes_main(int argc, char** argv) if (argc % 2 != 1 || argc < 2) { bb_show_usage(); } - + fd = get_console_fd(); while (argc > 2) { |