aboutsummaryrefslogtreecommitdiff
path: root/libbb/get_console.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-05-19 19:29:19 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-05-19 19:29:19 +0000
commitb1629b1b2abc17a6430e4173d64d7956784118e0 (patch)
tree41b2747866f1fc726d3a6cfde9bff946f6b514f3 /libbb/get_console.c
parentd8e87a09d1f90e527e48199f99e0a3537b12b842 (diff)
downloadbusybox-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 'libbb/get_console.c')
-rw-r--r--libbb/get_console.c24
1 files changed, 1 insertions, 23 deletions
diff --git a/libbb/get_console.c b/libbb/get_console.c
index a5903d0c3..afe60c268 100644
--- a/libbb/get_console.c
+++ b/libbb/get_console.c
@@ -5,19 +5,7 @@
5 * Copyright (C) many different people. If you wrote this, please 5 * Copyright (C) many different people. If you wrote this, please
6 * acknowledge your work. 6 * acknowledge your work.
7 * 7 *
8 * This program is free software; you can redistribute it and/or modify 8 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 */ 9 */
22 10
23#include <stdio.h> 11#include <stdio.h>
@@ -87,13 +75,3 @@ int get_console_fd(void)
87 bb_error_msg("Couldn't get a file descriptor referring to the console"); 75 bb_error_msg("Couldn't get a file descriptor referring to the console");
88 return fd; /* total failure */ 76 return fd; /* total failure */
89} 77}
90
91
92/* END CODE */
93/*
94Local Variables:
95c-file-style: "linux"
96c-basic-offset: 4
97tab-width: 4
98End:
99*/