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 /util-linux/getopt.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 'util-linux/getopt.c')
-rw-r--r-- | util-linux/getopt.c | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/util-linux/getopt.c b/util-linux/getopt.c index 9e33b79bf..005af8fa8 100644 --- a/util-linux/getopt.c +++ b/util-linux/getopt.c | |||
@@ -2,19 +2,7 @@ | |||
2 | * getopt.c - Enhanced implementation of BSD getopt(1) | 2 | * getopt.c - Enhanced implementation of BSD getopt(1) |
3 | * Copyright (c) 1997, 1998, 1999, 2000 Frodo Looijaard <frodol@dds.nl> | 3 | * Copyright (c) 1997, 1998, 1999, 2000 Frodo Looijaard <frodol@dds.nl> |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify | 5 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. |
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation; either version 2 of the License, or | ||
8 | * (at your option) any later version. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program; if not, write to the Free Software | ||
17 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
18 | */ | 6 | */ |
19 | 7 | ||
20 | /* | 8 | /* |
@@ -380,11 +368,3 @@ int getopt_main(int argc, char *argv[]) | |||
380 | argv[optind-1]=argv[0]; | 368 | argv[optind-1]=argv[0]; |
381 | return (generate_output(argv+optind-1,argc-optind+1,optstr,long_options)); | 369 | return (generate_output(argv+optind-1,argc-optind+1,optstr,long_options)); |
382 | } | 370 | } |
383 | |||
384 | /* | ||
385 | Local Variables: | ||
386 | c-file-style: "linux" | ||
387 | c-basic-offset: 4 | ||
388 | tab-width: 4 | ||
389 | End: | ||
390 | */ | ||