diff options
author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-05-19 19:29:19 +0000 |
---|---|---|
committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-05-19 19:29:19 +0000 |
commit | c1cd81cf26a3aad969743b158b660cd6279daa60 (patch) | |
tree | 41b2747866f1fc726d3a6cfde9bff946f6b514f3 /libbb/device_open.c | |
parent | 3a09c931d8932a9ee5f506457668c9eec61d83c6 (diff) | |
download | busybox-w32-c1cd81cf26a3aad969743b158b660cd6279daa60.tar.gz busybox-w32-c1cd81cf26a3aad969743b158b660cd6279daa60.tar.bz2 busybox-w32-c1cd81cf26a3aad969743b158b660cd6279daa60.zip |
- remove emacs layout block as suggested by Robert P.J. Day
- use shorter boilerplate while at it
git-svn-id: svn://busybox.net/trunk/busybox@15141 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb/device_open.c')
-rw-r--r-- | libbb/device_open.c | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/libbb/device_open.c b/libbb/device_open.c index df5eae9e4..d34557b5a 100644 --- a/libbb/device_open.c +++ b/libbb/device_open.c | |||
@@ -4,19 +4,7 @@ | |||
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 GNU | ||
15 | * 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 | #include <stdio.h> | 10 | #include <stdio.h> |
@@ -42,12 +30,3 @@ int device_open(const char *device, int mode) | |||
42 | fcntl(fd, F_SETFL, mode); | 30 | fcntl(fd, F_SETFL, mode); |
43 | return fd; | 31 | return fd; |
44 | } | 32 | } |
45 | |||
46 | /* END CODE */ | ||
47 | /* | ||
48 | Local Variables: | ||
49 | c-file-style: "linux" | ||
50 | c-basic-offset: 4 | ||
51 | tab-width: 4 | ||
52 | End: | ||
53 | */ | ||