aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--applets/busybox.c11
-rw-r--r--archival/unzip.c9
-rw-r--r--console-tools/chvt.c25
-rw-r--r--console-tools/openvt.c22
-rw-r--r--console-tools/setconsole.c22
-rw-r--r--coreutils/chgrp.c23
-rw-r--r--coreutils/chmod.c8
-rw-r--r--coreutils/chown.c8
-rw-r--r--coreutils/df.c23
-rw-r--r--coreutils/id.c25
-rw-r--r--debianutils/which.c8
-rw-r--r--include/platform.h3
-rw-r--r--init/init.c8
-rw-r--r--libbb/bb_do_delay.c8
-rw-r--r--libbb/bb_pwd.c10
-rw-r--r--libbb/chomp.c25
-rw-r--r--libbb/device_open.c23
-rw-r--r--libbb/error_msg.c24
-rw-r--r--libbb/error_msg_and_die.c24
-rw-r--r--libbb/find_mount_point.c24
-rw-r--r--libbb/find_pid_by_name.c9
-rw-r--r--libbb/full_read.c23
-rw-r--r--libbb/full_write.c24
-rw-r--r--libbb/get_console.c24
-rw-r--r--libbb/get_terminal_width_height.c10
-rw-r--r--libbb/herror_msg.c24
-rw-r--r--libbb/herror_msg_and_die.c24
-rw-r--r--libbb/inode_hash.c25
-rw-r--r--libbb/isdirectory.c23
-rw-r--r--libbb/kernel_version.c23
-rw-r--r--libbb/mtab_file.c24
-rw-r--r--libbb/perror_msg.c24
-rw-r--r--libbb/perror_msg_and_die.c24
-rw-r--r--libbb/print_file.c23
-rw-r--r--libbb/process_escape_sequence.c25
-rw-r--r--libbb/procps.c11
-rw-r--r--libbb/recursive_action.c10
-rw-r--r--libbb/safe_read.c24
-rw-r--r--libbb/safe_strncpy.c24
-rw-r--r--libbb/safe_write.c24
-rw-r--r--libbb/trim.c24
-rw-r--r--libbb/vdprintf.c24
-rw-r--r--libbb/verror_msg.c24
-rw-r--r--libbb/vperror_msg.c24
-rw-r--r--libbb/wfopen.c24
-rw-r--r--libbb/xfuncs.c9
-rw-r--r--libbb/xregcomp.c25
-rw-r--r--loginutils/vlock.c23
-rw-r--r--miscutils/rx.c8
-rw-r--r--networking/ftpgetput.c8
-rw-r--r--networking/ipcalc.c11
-rw-r--r--networking/telnet.c8
-rw-r--r--networking/wget.c10
-rw-r--r--sysklogd/klogd.c8
-rw-r--r--sysklogd/syslogd.c8
-rw-r--r--util-linux/getopt.c22
-rw-r--r--util-linux/pivot_root.c11
57 files changed, 46 insertions, 980 deletions
diff --git a/applets/busybox.c b/applets/busybox.c
index 344edc64c..25bb36d9c 100644
--- a/applets/busybox.c
+++ b/applets/busybox.c
@@ -1,4 +1,7 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/*
3 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
4 */
2#include <stdio.h> 5#include <stdio.h>
3#include <string.h> 6#include <string.h>
4#include <unistd.h> 7#include <unistd.h>
@@ -147,11 +150,3 @@ int busybox_main(int argc, char **argv)
147 150
148 bb_error_msg_and_die("applet not found"); 151 bb_error_msg_and_die("applet not found");
149} 152}
150
151/*
152Local Variables:
153c-file-style: "linux"
154c-basic-offset: 4
155tab-width: 4
156End:
157*/
diff --git a/archival/unzip.c b/archival/unzip.c
index b9dff1985..2cb256c76 100644
--- a/archival/unzip.c
+++ b/archival/unzip.c
@@ -417,12 +417,3 @@ int unzip_main(int argc, char **argv)
417 417
418 return failed; 418 return failed;
419} 419}
420
421/* END CODE */
422/*
423Local Variables:
424c-file-style: "linux"
425c-basic-offset: 4
426tab-width: 4
427End:
428*/
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/*
56Local Variables:
57c-file-style: "linux"
58c-basic-offset: 4
59tab-width: 4
60End:
61*/
diff --git a/console-tools/openvt.c b/console-tools/openvt.c
index de6a19fbc..948dba767 100644
--- a/console-tools/openvt.c
+++ b/console-tools/openvt.c
@@ -5,19 +5,7 @@
5 * busyboxed by Quy Tonthat <quy@signal3.com> 5 * busyboxed by Quy Tonthat <quy@signal3.com>
6 * hacked by Tito <farmatito@tiscali.it> 6 * hacked by Tito <farmatito@tiscali.it>
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
16 * GNU 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/* getopt not needed */ 11/* getopt not needed */
@@ -63,11 +51,3 @@ int openvt_main(int argc, char **argv)
63 } 51 }
64 return EXIT_SUCCESS; 52 return EXIT_SUCCESS;
65} 53}
66
67/*
68Local Variables:
69c-file-style: "linux"
70c-basic-offset: 4
71tab-width: 4
72End:
73*/
diff --git a/console-tools/setconsole.c b/console-tools/setconsole.c
index 6b4989d77..bf06cc530 100644
--- a/console-tools/setconsole.c
+++ b/console-tools/setconsole.c
@@ -4,19 +4,7 @@
4 * 4 *
5 * Copyright (C) 2004,2005 Enrik Berkhan <Enrik.Berkhan@inka.de> 5 * Copyright (C) 2004,2005 Enrik Berkhan <Enrik.Berkhan@inka.de>
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#include <sys/ioctl.h> 10#include <sys/ioctl.h>
@@ -60,11 +48,3 @@ int setconsole_main(int argc, char **argv)
60 } 48 }
61 return EXIT_SUCCESS; 49 return EXIT_SUCCESS;
62} 50}
63
64/*
65Local Variables:
66c-file-style: "linux"
67c-basic-offset: 4
68tab-width: 4
69End:
70*/
diff --git a/coreutils/chgrp.c b/coreutils/chgrp.c
index 70ac672c2..46db4081a 100644
--- a/coreutils/chgrp.c
+++ b/coreutils/chgrp.c
@@ -4,20 +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 *
21 */ 8 */
22 9
23/* BB_AUDIT SUSv3 defects - unsupported options -h, -H, -L, and -P. */ 10/* BB_AUDIT SUSv3 defects - unsupported options -h, -H, -L, and -P. */
@@ -71,11 +58,3 @@ int chgrp_main(int argc, char **argv)
71 58
72 return retval; 59 return retval;
73} 60}
74
75/*
76Local Variables:
77c-file-style: "linux"
78c-basic-offset: 4
79tab-width: 4
80End:
81*/
diff --git a/coreutils/chmod.c b/coreutils/chmod.c
index b69cccdf1..c871ad10e 100644
--- a/coreutils/chmod.c
+++ b/coreutils/chmod.c
@@ -89,11 +89,3 @@ int chmod_main(int ATTRIBUTE_UNUSED argc, char **argv)
89 89
90 return retval; 90 return retval;
91} 91}
92
93/*
94Local Variables:
95c-file-style: "linux"
96c-basic-offset: 4
97tab-width: 4
98End:
99*/
diff --git a/coreutils/chown.c b/coreutils/chown.c
index 66add48ed..bb379ac20 100644
--- a/coreutils/chown.c
+++ b/coreutils/chown.c
@@ -76,11 +76,3 @@ int chown_main(int argc, char **argv)
76 76
77 return retval; 77 return retval;
78} 78}
79
80/*
81Local Variables:
82c-file-style: "linux"
83c-basic-offset: 4
84tab-width: 4
85End:
86*/
diff --git a/coreutils/df.c b/coreutils/df.c
index bd487ee95..17ce634a7 100644
--- a/coreutils/df.c
+++ b/coreutils/df.c
@@ -5,20 +5,7 @@
5 * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> 5 * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
6 * based on original code by (I think) Bruce Perens <bruce@pixar.com>. 6 * based on original code by (I think) Bruce Perens <bruce@pixar.com>.
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 *
22 */ 9 */
23 10
24/* BB_AUDIT SUSv3 _NOT_ compliant -- options -P and -t missing. Also blocksize. */ 11/* BB_AUDIT SUSv3 _NOT_ compliant -- options -P and -t missing. Also blocksize. */
@@ -160,11 +147,3 @@ int df_main(int argc, char **argv)
160 147
161 bb_fflush_stdout_and_exit(status); 148 bb_fflush_stdout_and_exit(status);
162} 149}
163
164/*
165Local Variables:
166c-file-style: "linux"
167c-basic-offset: 4
168tab-width: 4
169End:
170*/
diff --git a/coreutils/id.c b/coreutils/id.c
index 73c3c2e3b..1bedff37a 100644
--- a/coreutils/id.c
+++ b/coreutils/id.c
@@ -4,20 +4,7 @@
4 * 4 *
5 * Copyright (C) 2000 by Randolph Chung <tausq@debian.org> 5 * Copyright (C) 2000 by Randolph Chung <tausq@debian.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 *
21 */ 8 */
22 9
23/* BB_AUDIT SUSv3 _NOT_ compliant -- option -G is not currently supported. */ 10/* BB_AUDIT SUSv3 _NOT_ compliant -- option -G is not currently supported. */
@@ -123,13 +110,3 @@ int id_main(int argc, char **argv)
123 putchar('\n'); 110 putchar('\n');
124 bb_fflush_stdout_and_exit(status); 111 bb_fflush_stdout_and_exit(status);
125} 112}
126
127/* END CODE */
128/*
129Local Variables:
130c-file-style: "linux"
131c-basic-offset: 4
132tab-width: 4
133End:
134*/
135
diff --git a/debianutils/which.c b/debianutils/which.c
index f2991c561..03b3c30f9 100644
--- a/debianutils/which.c
+++ b/debianutils/which.c
@@ -99,11 +99,3 @@ int which_main(int argc, char **argv)
99 } 99 }
100 bb_fflush_stdout_and_exit(status); 100 bb_fflush_stdout_and_exit(status);
101} 101}
102
103/*
104Local Variables:
105c-file-style: "linux"
106c-basic-offset: 4
107tab-width: 4
108End:
109*/
diff --git a/include/platform.h b/include/platform.h
index 6b3b3f78e..c399b8e16 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -1,3 +1,4 @@
1/* vi: set sw=4 ts=4: */
1/* 2/*
2 Copyright 2006, Bernhard Fischer 3 Copyright 2006, Bernhard Fischer
3 4
@@ -99,9 +100,11 @@
99#endif 100#endif
100 101
101/* ---- miscellaneous --------------------------------------- */ 102/* ---- miscellaneous --------------------------------------- */
103#if ENABLE_DEBUG_KEEP_NLS_CRAP
102/* NLS stuff */ 104/* NLS stuff */
103/* THIS SHOULD BE CLEANED OUT OF THE TREE ENTIRELY */ 105/* THIS SHOULD BE CLEANED OUT OF THE TREE ENTIRELY */
104#define _(Text) Text 106#define _(Text) Text
105#define N_(Text) (Text) 107#define N_(Text) (Text)
108#endif
106 109
107#endif /* platform.h */ 110#endif /* platform.h */
diff --git a/init/init.c b/init/init.c
index 9dbbb7d2d..b0443d095 100644
--- a/init/init.c
+++ b/init/init.c
@@ -1170,11 +1170,3 @@ int init_main(int argc, char **argv)
1170 } 1170 }
1171 } 1171 }
1172} 1172}
1173
1174/*
1175Local Variables:
1176c-file-style: "linux"
1177c-basic-offset: 4
1178tab-width: 4
1179End:
1180*/
diff --git a/libbb/bb_do_delay.c b/libbb/bb_do_delay.c
index 1fbdc9ae8..e14b67a19 100644
--- a/libbb/bb_do_delay.c
+++ b/libbb/bb_do_delay.c
@@ -22,11 +22,3 @@ void bb_do_delay(int seconds)
22 time(&now); 22 time(&now);
23 } 23 }
24} 24}
25
26/*
27Local Variables:
28c-file-style: "linux"
29c-basic-offset: 4
30tab-width: 4
31End:
32*/
diff --git a/libbb/bb_pwd.c b/libbb/bb_pwd.c
index 68721ddf7..07876f0e2 100644
--- a/libbb/bb_pwd.c
+++ b/libbb/bb_pwd.c
@@ -168,13 +168,3 @@ unsigned long get_ug_id(const char *s,
168 return r; 168 return r;
169} 169}
170#endif /* L_get_ug_id */ 170#endif /* L_get_ug_id */
171
172/* END CODE */
173/*
174Local Variables:
175c-file-style: "linux"
176c-basic-offset: 4
177tab-width: 4
178End:
179*/
180
diff --git a/libbb/chomp.c b/libbb/chomp.c
index 774e533d4..6165b83bc 100644
--- a/libbb/chomp.c
+++ b/libbb/chomp.c
@@ -5,20 +5,7 @@
5 * Copyright (C) many different people. 5 * Copyright (C) many different people.
6 * If you wrote this, please acknowledge your work. 6 * If you wrote this, please 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, but
14 * 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
21 * USA
22 */ 9 */
23 10
24#include <stdio.h> 11#include <stdio.h>
@@ -33,13 +20,3 @@ void chomp(char *s)
33 if(lc) 20 if(lc)
34 *lc = 0; 21 *lc = 0;
35} 22}
36
37
38/* END CODE */
39/*
40Local Variables:
41c-file-style: "linux"
42c-basic-offset: 4
43tab-width: 4
44End:
45*/
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/*
48Local Variables:
49c-file-style: "linux"
50c-basic-offset: 4
51tab-width: 4
52End:
53*/
diff --git a/libbb/error_msg.c b/libbb/error_msg.c
index 2a90ba438..a8ed4bf8e 100644
--- a/libbb/error_msg.c
+++ b/libbb/error_msg.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>
@@ -34,13 +22,3 @@ void bb_error_msg(const char *s, ...)
34 va_end(p); 22 va_end(p);
35 putc('\n', stderr); 23 putc('\n', stderr);
36} 24}
37
38
39/* END CODE */
40/*
41Local Variables:
42c-file-style: "linux"
43c-basic-offset: 4
44tab-width: 4
45End:
46*/
diff --git a/libbb/error_msg_and_die.c b/libbb/error_msg_and_die.c
index 92043a535..842260b0f 100644
--- a/libbb/error_msg_and_die.c
+++ b/libbb/error_msg_and_die.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>
@@ -35,13 +23,3 @@ void bb_error_msg_and_die(const char *s, ...)
35 putc('\n', stderr); 23 putc('\n', stderr);
36 exit(bb_default_error_retval); 24 exit(bb_default_error_retval);
37} 25}
38
39
40/* END CODE */
41/*
42Local Variables:
43c-file-style: "linux"
44c-basic-offset: 4
45tab-width: 4
46End:
47*/
diff --git a/libbb/find_mount_point.c b/libbb/find_mount_point.c
index 83527a8c8..8341612d4 100644
--- a/libbb/find_mount_point.c
+++ b/libbb/find_mount_point.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>
@@ -64,13 +52,3 @@ struct mntent *find_mount_point(const char *name, const char *table)
64 endmntent(mountTable); 52 endmntent(mountTable);
65 return mountEntry; 53 return mountEntry;
66} 54}
67
68
69/* END CODE */
70/*
71Local Variables:
72c-file-style: "linux"
73c-basic-offset: 4
74tab-width: 4
75End:
76*/
diff --git a/libbb/find_pid_by_name.c b/libbb/find_pid_by_name.c
index 833c96f51..73467446f 100644
--- a/libbb/find_pid_by_name.c
+++ b/libbb/find_pid_by_name.c
@@ -57,12 +57,3 @@ long *pidlist_reverse(long *pidList)
57 } 57 }
58 return pidList; 58 return pidList;
59} 59}
60
61/* END CODE */
62/*
63Local Variables:
64c-file-style: "linux"
65c-basic-offset: 4
66tab-width: 4
67End:
68*/
diff --git a/libbb/full_read.c b/libbb/full_read.c
index 221fc947b..8d64bfb90 100644
--- a/libbb/full_read.c
+++ b/libbb/full_read.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>
@@ -52,12 +40,3 @@ ssize_t bb_full_read(int fd, void *buf, size_t len)
52 40
53 return total; 41 return total;
54} 42}
55
56/* END CODE */
57/*
58Local Variables:
59c-file-style: "linux"
60c-basic-offset: 4
61tab-width: 4
62End:
63*/
diff --git a/libbb/full_write.c b/libbb/full_write.c
index 30de4078a..3d6d40184 100644
--- a/libbb/full_write.c
+++ b/libbb/full_write.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>
@@ -48,13 +36,3 @@ ssize_t bb_full_write(int fd, const void *buf, size_t len)
48 36
49 return total; 37 return total;
50} 38}
51
52
53/* END CODE */
54/*
55Local Variables:
56c-file-style: "linux"
57c-basic-offset: 4
58tab-width: 4
59End:
60*/
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*/
diff --git a/libbb/get_terminal_width_height.c b/libbb/get_terminal_width_height.c
index df5aa907f..941f04c3a 100644
--- a/libbb/get_terminal_width_height.c
+++ b/libbb/get_terminal_width_height.c
@@ -29,13 +29,3 @@ int get_terminal_width_height(int fd, int *width, int *height)
29 29
30 return ret; 30 return ret;
31} 31}
32
33/* END CODE */
34/*
35Local Variables:
36c-file-style: "linux"
37c-basic-offset: 4
38tab-width: 4
39End:
40*/
41
diff --git a/libbb/herror_msg.c b/libbb/herror_msg.c
index d0d0a15d2..1e6908d82 100644
--- a/libbb/herror_msg.c
+++ b/libbb/herror_msg.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 <stdarg.h> 10#include <stdarg.h>
@@ -32,13 +20,3 @@ void bb_herror_msg(const char *s, ...)
32 bb_vherror_msg(s, p); 20 bb_vherror_msg(s, p);
33 va_end(p); 21 va_end(p);
34} 22}
35
36
37/* END CODE */
38/*
39Local Variables:
40c-file-style: "linux"
41c-basic-offset: 4
42tab-width: 4
43End:
44*/
diff --git a/libbb/herror_msg_and_die.c b/libbb/herror_msg_and_die.c
index 9a76ef7e1..285b195ef 100644
--- a/libbb/herror_msg_and_die.c
+++ b/libbb/herror_msg_and_die.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 <stdarg.h> 10#include <stdarg.h>
@@ -33,13 +21,3 @@ void bb_herror_msg_and_die(const char *s, ...)
33 va_end(p); 21 va_end(p);
34 exit(bb_default_error_retval); 22 exit(bb_default_error_retval);
35} 23}
36
37
38/* END CODE */
39/*
40Local Variables:
41c-file-style: "linux"
42c-basic-offset: 4
43tab-width: 4
44End:
45*/
diff --git a/libbb/inode_hash.c b/libbb/inode_hash.c
index fbcd81327..2ac1623f4 100644
--- a/libbb/inode_hash.c
+++ b/libbb/inode_hash.c
@@ -5,20 +5,7 @@
5 * Copyright (C) many different people. 5 * Copyright (C) many different people.
6 * If you wrote this, please acknowledge your work. 6 * If you wrote this, please 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, but
14 * 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
21 * USA
22 */ 9 */
23 10
24#include <stdio.h> 11#include <stdio.h>
@@ -99,13 +86,3 @@ void reset_ino_dev_hashtable(void)
99 } 86 }
100} 87}
101#endif 88#endif
102
103
104/* END CODE */
105/*
106Local Variables:
107c-file-style: "linux"
108c-basic-offset: 4
109tab-width: 4
110End:
111*/
diff --git a/libbb/isdirectory.c b/libbb/isdirectory.c
index 7f8f7e415..b35919869 100644
--- a/libbb/isdirectory.c
+++ b/libbb/isdirectory.c
@@ -5,19 +5,7 @@
5 * Based in part on code from sash, Copyright (c) 1999 by David I. Bell 5 * Based in part on code from sash, Copyright (c) 1999 by David I. Bell
6 * Permission has been granted to redistribute this code under the GPL. 6 * Permission has been granted to redistribute this code under the GPL.
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 <sys/stat.h> 11#include <sys/stat.h>
@@ -49,12 +37,3 @@ int is_directory(const char *fileName, const int followLinks, struct stat *statB
49 37
50 return status; 38 return status;
51} 39}
52
53/* END CODE */
54/*
55Local Variables:
56c-file-style: "linux"
57c-basic-offset: 4
58tab-width: 4
59End:
60*/
diff --git a/libbb/kernel_version.c b/libbb/kernel_version.c
index 310da2fa0..e784a049a 100644
--- a/libbb/kernel_version.c
+++ b/libbb/kernel_version.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>
@@ -50,12 +38,3 @@ int get_linux_version_code(void)
50 } 38 }
51 return r; 39 return r;
52} 40}
53
54/* END CODE */
55/*
56Local Variables:
57c-file-style: "linux"
58c-basic-offset: 4
59tab-width: 4
60End:
61*/
diff --git a/libbb/mtab_file.c b/libbb/mtab_file.c
index abb9b9322..3821a6806 100644
--- a/libbb/mtab_file.c
+++ b/libbb/mtab_file.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>
@@ -30,13 +18,3 @@ const char bb_path_mtab_file[] = "/etc/mtab";
30#else 18#else
31const char bb_path_mtab_file[] = "/proc/mounts"; 19const char bb_path_mtab_file[] = "/proc/mounts";
32#endif 20#endif
33
34
35/* END CODE */
36/*
37Local Variables:
38c-file-style: "linux"
39c-basic-offset: 4
40tab-width: 4
41End:
42*/
diff --git a/libbb/perror_msg.c b/libbb/perror_msg.c
index a0fdabc1d..7fb0830be 100644
--- a/libbb/perror_msg.c
+++ b/libbb/perror_msg.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>
@@ -33,13 +21,3 @@ void bb_perror_msg(const char *s, ...)
33 bb_vperror_msg(s, p); 21 bb_vperror_msg(s, p);
34 va_end(p); 22 va_end(p);
35} 23}
36
37
38/* END CODE */
39/*
40Local Variables:
41c-file-style: "linux"
42c-basic-offset: 4
43tab-width: 4
44End:
45*/
diff --git a/libbb/perror_msg_and_die.c b/libbb/perror_msg_and_die.c
index 4a26dcce8..5b0464077 100644
--- a/libbb/perror_msg_and_die.c
+++ b/libbb/perror_msg_and_die.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>
@@ -34,13 +22,3 @@ void bb_perror_msg_and_die(const char *s, ...)
34 va_end(p); 22 va_end(p);
35 exit(bb_default_error_retval); 23 exit(bb_default_error_retval);
36} 24}
37
38
39/* END CODE */
40/*
41Local Variables:
42c-file-style: "linux"
43c-basic-offset: 4
44tab-width: 4
45End:
46*/
diff --git a/libbb/print_file.c b/libbb/print_file.c
index 26bd0d458..ea5d1d222 100644
--- a/libbb/print_file.c
+++ b/libbb/print_file.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>
@@ -65,12 +53,3 @@ int bb_xprint_file_by_name(const char *filename)
65 53
66 return -1; 54 return -1;
67} 55}
68
69/* END CODE */
70/*
71Local Variables:
72c-file-style: "linux"
73c-basic-offset: 4
74tab-width: 4
75End:
76*/
diff --git a/libbb/process_escape_sequence.c b/libbb/process_escape_sequence.c
index 1b7b6d190..138e751f5 100644
--- a/libbb/process_escape_sequence.c
+++ b/libbb/process_escape_sequence.c
@@ -5,21 +5,7 @@
5 * Copyright (C) Manuel Novoa III <mjn3@codepoet.org> 5 * Copyright (C) Manuel Novoa III <mjn3@codepoet.org>
6 * and Vladimir Oleynik <dzo@simtreas.ru> 6 * and Vladimir Oleynik <dzo@simtreas.ru>
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 *
22 *
23 */ 9 */
24 10
25#include <stdio.h> 11#include <stdio.h>
@@ -101,12 +87,3 @@ char bb_process_escape_sequence(const char **ptr)
101 87
102 return (char) n; 88 return (char) n;
103} 89}
104
105/* END CODE */
106/*
107Local Variables:
108c-file-style: "linux"
109c-basic-offset: 4
110tab-width: 4
111End:
112*/
diff --git a/libbb/procps.c b/libbb/procps.c
index 305a71723..436905c46 100644
--- a/libbb/procps.c
+++ b/libbb/procps.c
@@ -4,8 +4,8 @@
4 * 4 *
5 * Copyright 1998 by Albert Cahalan; all rights reserved. 5 * Copyright 1998 by Albert Cahalan; all rights reserved.
6 * Copyright (C) 2002 by Vladimir Oleynik <dzo@simtreas.ru> 6 * Copyright (C) 2002 by Vladimir Oleynik <dzo@simtreas.ru>
7 * GNU Library General Public License Version 2, or any later version
8 * 7 *
8 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
9 */ 9 */
10 10
11#include <dirent.h> 11#include <dirent.h>
@@ -146,12 +146,3 @@ procps_status_t * procps_scan(int save_user_arg0)
146 return memcpy(&ret_status, &curstatus, sizeof(procps_status_t)); 146 return memcpy(&ret_status, &curstatus, sizeof(procps_status_t));
147 } 147 }
148} 148}
149
150/* END CODE */
151/*
152Local Variables:
153c-file-style: "linux"
154c-basic-offset: 4
155tab-width: 4
156End:
157*/
diff --git a/libbb/recursive_action.c b/libbb/recursive_action.c
index 6b005e22d..a30addc4f 100644
--- a/libbb/recursive_action.c
+++ b/libbb/recursive_action.c
@@ -116,13 +116,3 @@ int recursive_action(const char *fileName,
116 } 116 }
117 return TRUE; 117 return TRUE;
118} 118}
119
120
121/* END CODE */
122/*
123Local Variables:
124c-file-style: "linux"
125c-basic-offset: 4
126tab-width: 4
127End:
128*/
diff --git a/libbb/safe_read.c b/libbb/safe_read.c
index 92e1d8a4b..a59934a4d 100644
--- a/libbb/safe_read.c
+++ b/libbb/safe_read.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>
@@ -36,13 +24,3 @@ ssize_t safe_read(int fd, void *buf, size_t count)
36 24
37 return n; 25 return n;
38} 26}
39
40
41/* END CODE */
42/*
43Local Variables:
44c-file-style: "linux"
45c-basic-offset: 4
46tab-width: 4
47End:
48*/
diff --git a/libbb/safe_strncpy.c b/libbb/safe_strncpy.c
index d4275698c..add92ac9f 100644
--- a/libbb/safe_strncpy.c
+++ b/libbb/safe_strncpy.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 <string.h> 10#include <string.h>
@@ -30,13 +18,3 @@ char * safe_strncpy(char *dst, const char *src, size_t size)
30 dst[size-1] = '\0'; 18 dst[size-1] = '\0';
31 return strncpy(dst, src, size-1); 19 return strncpy(dst, src, size-1);
32} 20}
33
34
35/* END CODE */
36/*
37Local Variables:
38c-file-style: "linux"
39c-basic-offset: 4
40tab-width: 4
41End:
42*/
diff --git a/libbb/safe_write.c b/libbb/safe_write.c
index 201ea1cd3..c81f1247f 100644
--- a/libbb/safe_write.c
+++ b/libbb/safe_write.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>
@@ -36,13 +24,3 @@ ssize_t safe_write(int fd, const void *buf, size_t count)
36 24
37 return n; 25 return n;
38} 26}
39
40
41/* END CODE */
42/*
43Local Variables:
44c-file-style: "linux"
45c-basic-offset: 4
46tab-width: 4
47End:
48*/
diff --git a/libbb/trim.c b/libbb/trim.c
index 0dca6678e..d36391540 100644
--- a/libbb/trim.c
+++ b/libbb/trim.c
@@ -5,20 +5,7 @@
5 * Copyright (C) many different people. 5 * Copyright (C) many different people.
6 * If you wrote this, please acknowledge your work. 6 * If you wrote this, please 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, but
14 * 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
21 * USA
22 */ 9 */
23 10
24#include <stdio.h> 11#include <stdio.h>
@@ -42,12 +29,3 @@ void trim(char *s)
42 } 29 }
43 s[len] = 0; 30 s[len] = 0;
44} 31}
45
46/* END CODE */
47/*
48Local Variables:
49c-file-style: "linux"
50c-basic-offset: 4
51tab-width: 4
52End:
53*/
diff --git a/libbb/vdprintf.c b/libbb/vdprintf.c
index 96c71ea63..ffcb7a444 100644
--- a/libbb/vdprintf.c
+++ b/libbb/vdprintf.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>
@@ -35,13 +23,3 @@ int vdprintf(int d, const char *format, va_list ap)
35 return write(d, buf, len); 23 return write(d, buf, len);
36} 24}
37#endif 25#endif
38
39
40/* END CODE */
41/*
42Local Variables:
43c-file-style: "linux"
44c-basic-offset: 4
45tab-width: 4
46End:
47*/
diff --git a/libbb/verror_msg.c b/libbb/verror_msg.c
index d0fbb05c6..d458a7b2c 100644
--- a/libbb/verror_msg.c
+++ b/libbb/verror_msg.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>
@@ -31,13 +19,3 @@ void bb_verror_msg(const char *s, va_list p)
31 fprintf(stderr, "%s: ", bb_applet_name); 19 fprintf(stderr, "%s: ", bb_applet_name);
32 vfprintf(stderr, s, p); 20 vfprintf(stderr, s, p);
33} 21}
34
35
36/* END CODE */
37/*
38Local Variables:
39c-file-style: "linux"
40c-basic-offset: 4
41tab-width: 4
42End:
43*/
diff --git a/libbb/vperror_msg.c b/libbb/vperror_msg.c
index ed4ac83cd..5a854ec4a 100644
--- a/libbb/vperror_msg.c
+++ b/libbb/vperror_msg.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>
@@ -33,13 +21,3 @@ void bb_vperror_msg(const char *s, va_list p)
33 if (*s) s = ": "; 21 if (*s) s = ": ";
34 fprintf(stderr, "%s%s\n", s, strerror(err)); 22 fprintf(stderr, "%s%s\n", s, strerror(err));
35} 23}
36
37
38/* END CODE */
39/*
40Local Variables:
41c-file-style: "linux"
42c-basic-offset: 4
43tab-width: 4
44End:
45*/
diff --git a/libbb/wfopen.c b/libbb/wfopen.c
index ab77cb19e..9d663281e 100644
--- a/libbb/wfopen.c
+++ b/libbb/wfopen.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>
@@ -32,13 +20,3 @@ FILE *bb_wfopen(const char *path, const char *mode)
32 } 20 }
33 return fp; 21 return fp;
34} 22}
35
36
37/* END CODE */
38/*
39Local Variables:
40c-file-style: "linux"
41c-basic-offset: 4
42tab-width: 4
43End:
44*/
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c
index 9b9081e26..fa6aa0f9f 100644
--- a/libbb/xfuncs.c
+++ b/libbb/xfuncs.c
@@ -173,12 +173,3 @@ void bb_xfflush_stdout(void)
173 } 173 }
174} 174}
175#endif 175#endif
176
177/* END CODE */
178/*
179Local Variables:
180c-file-style: "linux"
181c-basic-offset: 4
182tab-width: 4
183End:
184*/
diff --git a/libbb/xregcomp.c b/libbb/xregcomp.c
index c28ca659d..4bcb9aedf 100644
--- a/libbb/xregcomp.c
+++ b/libbb/xregcomp.c
@@ -5,20 +5,7 @@
5 * Copyright (C) many different people. 5 * Copyright (C) many different people.
6 * If you wrote this, please acknowledge your work. 6 * If you wrote this, please 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, but
14 * 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
21 * USA
22 */ 9 */
23 10
24#include <stdio.h> 11#include <stdio.h>
@@ -37,13 +24,3 @@ void xregcomp(regex_t *preg, const char *regex, int cflags)
37 bb_error_msg_and_die("xregcomp: %s", errmsg); 24 bb_error_msg_and_die("xregcomp: %s", errmsg);
38 } 25 }
39} 26}
40
41
42/* END CODE */
43/*
44Local Variables:
45c-file-style: "linux"
46c-basic-offset: 4
47tab-width: 4
48End:
49*/
diff --git a/loginutils/vlock.c b/loginutils/vlock.c
index 6f391075b..cec1d0ab0 100644
--- a/loginutils/vlock.c
+++ b/loginutils/vlock.c
@@ -5,20 +5,7 @@
5 * Copyright (C) 2000 by spoon <spoon@ix.netcom.com> 5 * Copyright (C) 2000 by spoon <spoon@ix.netcom.com>
6 * Written by spoon <spon@ix.netcom.com> 6 * Written by spoon <spon@ix.netcom.com>
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 *
22 */ 9 */
23 10
24/* Shoutz to Michael K. Johnson <johnsonm@redhat.com>, author of the 11/* Shoutz to Michael K. Johnson <johnsonm@redhat.com>, author of the
@@ -141,11 +128,3 @@ int vlock_main(int argc, char **argv)
141 restore_terminal(); 128 restore_terminal();
142 return 0; 129 return 0;
143} 130}
144
145/*
146Local Variables:
147c-file-style: "linux"
148c-basic-offset: 4
149tab-width: 4
150End:
151*/
diff --git a/miscutils/rx.c b/miscutils/rx.c
index 3df461349..ef372d383 100644
--- a/miscutils/rx.c
+++ b/miscutils/rx.c
@@ -317,11 +317,3 @@ int rx_main(int argc, char **argv)
317 317
318 bb_fflush_stdout_and_exit(EXIT_SUCCESS); 318 bb_fflush_stdout_and_exit(EXIT_SUCCESS);
319} 319}
320
321/*
322Local Variables:
323c-file-style: "linux"
324c-basic-offset: 4
325tab-width: 4
326End:
327*/
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c
index f285e8b31..40e1328a9 100644
--- a/networking/ftpgetput.c
+++ b/networking/ftpgetput.c
@@ -350,11 +350,3 @@ int ftpgetput_main(int argc, char **argv)
350 350
351 return(ftp_action(server, control_stream, argv[optind + 1], argv[optind + 2])); 351 return(ftp_action(server, control_stream, argv[optind + 1], argv[optind + 2]));
352} 352}
353
354/*
355Local Variables:
356c-file-style: "linux"
357c-basic-offset: 4
358tab-width: 4
359End:
360*/
diff --git a/networking/ipcalc.c b/networking/ipcalc.c
index c5f2ba121..a24629a9d 100644
--- a/networking/ipcalc.c
+++ b/networking/ipcalc.c
@@ -8,6 +8,8 @@
8 * This is a complete reimplementation of the ipcalc program 8 * This is a complete reimplementation of the ipcalc program
9 * from Red Hat. I didn't look at their source code, but there 9 * from Red Hat. I didn't look at their source code, but there
10 * is no denying that this is a loving reimplementation 10 * is no denying that this is a loving reimplementation
11 *
12 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
11 */ 13 */
12 14
13#include <stdio.h> 15#include <stdio.h>
@@ -214,12 +216,3 @@ int ipcalc_main(int argc, char **argv)
214 216
215 return EXIT_SUCCESS; 217 return EXIT_SUCCESS;
216} 218}
217
218/* END CODE */
219/*
220Local Variables:
221c-file-style: "linux"
222c-basic-offset: 4
223tab-width: 4
224End:
225*/
diff --git a/networking/telnet.c b/networking/telnet.c
index 2ad44d429..b3045f878 100644
--- a/networking/telnet.c
+++ b/networking/telnet.c
@@ -734,11 +734,3 @@ int telnet_main(int argc, char** argv)
734 } 734 }
735 } 735 }
736} 736}
737
738/*
739Local Variables:
740c-file-style: "linux"
741c-basic-offset: 4
742tab-width: 4
743End:
744*/
diff --git a/networking/wget.c b/networking/wget.c
index 6efa3bf21..d55f4b007 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -854,13 +854,3 @@ progressmeter(int flag)
854 * 854 *
855 * $Id: wget.c,v 1.75 2004/10/08 08:27:40 andersen Exp $ 855 * $Id: wget.c,v 1.75 2004/10/08 08:27:40 andersen Exp $
856 */ 856 */
857
858
859
860/*
861Local Variables:
862c-file-style: "linux"
863c-basic-offset: 4
864tab-width: 4
865End:
866*/
diff --git a/sysklogd/klogd.c b/sysklogd/klogd.c
index 6dc5457af..95a35c25e 100644
--- a/sysklogd/klogd.c
+++ b/sysklogd/klogd.c
@@ -128,11 +128,3 @@ int klogd_main(int argc, char **argv)
128 128
129 return EXIT_SUCCESS; 129 return EXIT_SUCCESS;
130} 130}
131
132/*
133Local Variables
134c-file-style: "linux"
135c-basic-offset: 4
136tab-width: 4
137End:
138*/
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 74c407142..deaee49c2 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -680,11 +680,3 @@ int syslogd_main(int argc, char **argv)
680 680
681 return EXIT_SUCCESS; 681 return EXIT_SUCCESS;
682} 682}
683
684/*
685Local Variables
686c-file-style: "linux"
687c-basic-offset: 4
688tab-width: 4
689End:
690*/
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*/
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 @@
5 * busyboxed by Evin Robertson 5 * busyboxed by Evin Robertson
6 * pivot_root syscall stubbed by Erik Andersen, so it will compile 6 * pivot_root syscall stubbed by Erik Andersen, so it will compile
7 * regardless of the kernel being used. 7 * regardless of the kernel being used.
8 *
9 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
8 */ 10 */
9#include <stdlib.h> 11#include <stdlib.h>
10#include <stdio.h> 12#include <stdio.h>
@@ -24,12 +26,3 @@ int pivot_root_main(int argc, char **argv)
24 return EXIT_SUCCESS; 26 return EXIT_SUCCESS;
25 27
26} 28}
27
28
29/*
30Local Variables:
31c-file-style: "linux"
32c-basic-offset: 4
33tab-width: 4
34End:
35*/