From c7bda1ce659294d6e22c06e087f6f265983c7578 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 15 Mar 2004 08:29:22 +0000 Subject: Remove trailing whitespace. Update copyright to include 2004. --- console-tools/Makefile | 2 +- console-tools/Makefile.in | 2 +- console-tools/chvt.c | 2 +- console-tools/clear.c | 2 +- console-tools/deallocvt.c | 4 ++-- console-tools/dumpkmap.c | 14 +++++++------- console-tools/loadkmap.c | 2 +- console-tools/openvt.c | 2 +- console-tools/reset.c | 2 +- console-tools/setkeycodes.c | 4 ++-- 10 files changed, 18 insertions(+), 18 deletions(-) (limited to 'console-tools') diff --git a/console-tools/Makefile b/console-tools/Makefile index d54c778d4..2ee51a5e6 100644 --- a/console-tools/Makefile +++ b/console-tools/Makefile @@ -1,6 +1,6 @@ # Makefile for busybox # -# Copyright (C) 1999-2003 by Erik Andersen +# Copyright (C) 1999-2004 by Erik Andersen # # 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 032b194f6..1d756c721 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 +# Copyright (C) 1999-2004 by Erik Andersen # # 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 8ea062cde..3398892f5 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 + * Copyright (C) 1999-2004 by Erik Andersen * * 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 45976e1b5..e43ed0e02 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 + * Copyright (C) 1999-2004 by Erik Andersen * * 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 363ecdf12..08a9d2122 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 - * Copyright (C) 1999-2003 by Erik Andersen + * Copyright (C) 1999-2004 by Erik Andersen * * 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 19ba77d82..6085a446b 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 5b2f31abc..849d747a6 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 b0db33b33..5f244579c 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 3f9ae984d..9d38e7a28 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 + * Copyright (C) 1999-2004 by Erik Andersen * Written by Erik Andersen and Kent Robotti * * 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 0a5366be9..169d0bb0a 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) { -- cgit v1.2.3