aboutsummaryrefslogtreecommitdiff
path: root/util-linux
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 /util-linux
parentd8e87a09d1f90e527e48199f99e0a3537b12b842 (diff)
downloadbusybox-b1629b1b2abc17a6430e4173d64d7956784118e0.tar.gz
- remove emacs layout block as suggested by Robert P.J. Day
- use shorter boilerplate while at it
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/getopt.c22
-rw-r--r--util-linux/pivot_root.c11
2 files changed, 3 insertions, 30 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 @@
* getopt.c - Enhanced implementation of BSD getopt(1)
* Copyright (c) 1997, 1998, 1999, 2000 Frodo Looijaard <frodol@dds.nl>
*
- * 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., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
/*
@@ -380,11 +368,3 @@ int getopt_main(int argc, char *argv[])
argv[optind-1]=argv[0];
return (generate_output(argv+optind-1,argc-optind+1,optstr,long_options));
}
-
-/*
- Local Variables:
- c-file-style: "linux"
- c-basic-offset: 4
- tab-width: 4
- End:
-*/
diff --git a/util-linux/pivot_root.c b/util-linux/pivot_root.c
index c86e73cc1..4e67043cd 100644
--- a/util-linux/pivot_root.c
+++ b/util-linux/pivot_root.c
@@ -5,6 +5,8 @@
* busyboxed by Evin Robertson
* pivot_root syscall stubbed by Erik Andersen, so it will compile
* regardless of the kernel being used.
+ *
+ * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
#include <stdlib.h>
#include <stdio.h>
@@ -24,12 +26,3 @@ int pivot_root_main(int argc, char **argv)
return EXIT_SUCCESS;
}
-
-
-/*
-Local Variables:
-c-file-style: "linux"
-c-basic-offset: 4
-tab-width: 4
-End:
-*/