diff options
author | Bernhard Reutner-Fischer | 2006-05-19 19:29:19 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2006-05-19 19:29:19 +0000 |
commit | b1629b1b2abc17a6430e4173d64d7956784118e0 (patch) | |
tree | 41b2747866f1fc726d3a6cfde9bff946f6b514f3 /console-tools | |
parent | d8e87a09d1f90e527e48199f99e0a3537b12b842 (diff) | |
download | busybox-b1629b1b2abc17a6430e4173d64d7956784118e0.zip busybox-b1629b1b2abc17a6430e4173d64d7956784118e0.tar.gz |
- remove emacs layout block as suggested by Robert P.J. Day
- use shorter boilerplate while at it
Diffstat (limited to 'console-tools')
-rw-r--r-- | console-tools/chvt.c | 25 | ||||
-rw-r--r-- | console-tools/openvt.c | 22 | ||||
-rw-r--r-- | console-tools/setconsole.c | 22 |
3 files changed, 3 insertions, 66 deletions
diff --git a/console-tools/chvt.c b/console-tools/chvt.c index cba5b40..aff66e0 100644 --- a/console-tools/chvt.c +++ b/console-tools/chvt.c @@ -4,23 +4,9 @@ * * 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 - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ -/* no options, no getopt */ - #include <stdio.h> #include <stdlib.h> #include <fcntl.h> @@ -50,12 +36,3 @@ int chvt_main(int argc, char **argv) } return EXIT_SUCCESS; } - - -/* -Local Variables: -c-file-style: "linux" -c-basic-offset: 4 -tab-width: 4 -End: -*/ diff --git a/console-tools/openvt.c b/console-tools/openvt.c index de6a19f..948dba7 100644 --- a/console-tools/openvt.c +++ b/console-tools/openvt.c @@ -5,19 +5,7 @@ * busyboxed by Quy Tonthat <quy@signal3.com> * hacked by Tito <farmatito@tiscali.it> * - * 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 - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ /* getopt not needed */ @@ -63,11 +51,3 @@ int openvt_main(int argc, char **argv) } return EXIT_SUCCESS; } - -/* -Local Variables: -c-file-style: "linux" -c-basic-offset: 4 -tab-width: 4 -End: -*/ diff --git a/console-tools/setconsole.c b/console-tools/setconsole.c index 6b4989d..bf06cc5 100644 --- a/console-tools/setconsole.c +++ b/console-tools/setconsole.c @@ -4,19 +4,7 @@ * * Copyright (C) 2004,2005 Enrik Berkhan <Enrik.Berkhan@inka.de> * - * 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 - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ #include <sys/ioctl.h> @@ -60,11 +48,3 @@ int setconsole_main(int argc, char **argv) } return EXIT_SUCCESS; } - -/* -Local Variables: -c-file-style: "linux" -c-basic-offset: 4 -tab-width: 4 -End: -*/ |