diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-05-19 19:29:19 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-05-19 19:29:19 +0000 |
commit | b1629b1b2abc17a6430e4173d64d7956784118e0 (patch) | |
tree | 41b2747866f1fc726d3a6cfde9bff946f6b514f3 /console-tools/chvt.c | |
parent | d8e87a09d1f90e527e48199f99e0a3537b12b842 (diff) | |
download | busybox-w32-b1629b1b2abc17a6430e4173d64d7956784118e0.tar.gz busybox-w32-b1629b1b2abc17a6430e4173d64d7956784118e0.tar.bz2 busybox-w32-b1629b1b2abc17a6430e4173d64d7956784118e0.zip |
- remove emacs layout block as suggested by Robert P.J. Day
- use shorter boilerplate while at it
Diffstat (limited to 'console-tools/chvt.c')
-rw-r--r-- | console-tools/chvt.c | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/console-tools/chvt.c b/console-tools/chvt.c index cba5b4014..aff66e007 100644 --- a/console-tools/chvt.c +++ b/console-tools/chvt.c | |||
@@ -4,23 +4,9 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> | 5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> |
6 | * | 6 | * |
7 | * This program is free software; you can redistribute it and/or modify | 7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. |
8 | * it under the terms of the GNU General Public License as published by | ||
9 | * the Free Software Foundation; either version 2 of the License, or | ||
10 | * (at your option) any later version. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | * GNU General Public License for more details. | ||
16 | * | ||
17 | * You should have received a copy of the GNU General Public License | ||
18 | * along with this program; if not, write to the Free Software | ||
19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
20 | */ | 8 | */ |
21 | 9 | ||
22 | /* no options, no getopt */ | ||
23 | |||
24 | #include <stdio.h> | 10 | #include <stdio.h> |
25 | #include <stdlib.h> | 11 | #include <stdlib.h> |
26 | #include <fcntl.h> | 12 | #include <fcntl.h> |
@@ -50,12 +36,3 @@ int chvt_main(int argc, char **argv) | |||
50 | } | 36 | } |
51 | return EXIT_SUCCESS; | 37 | return EXIT_SUCCESS; |
52 | } | 38 | } |
53 | |||
54 | |||
55 | /* | ||
56 | Local Variables: | ||
57 | c-file-style: "linux" | ||
58 | c-basic-offset: 4 | ||
59 | tab-width: 4 | ||
60 | End: | ||
61 | */ | ||