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 | |
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')
34 files changed, 28 insertions, 686 deletions
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 | /* | ||
27 | Local Variables: | ||
28 | c-file-style: "linux" | ||
29 | c-basic-offset: 4 | ||
30 | tab-width: 4 | ||
31 | End: | ||
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 | /* | ||
174 | Local Variables: | ||
175 | c-file-style: "linux" | ||
176 | c-basic-offset: 4 | ||
177 | tab-width: 4 | ||
178 | End: | ||
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 | /* | ||
40 | Local Variables: | ||
41 | c-file-style: "linux" | ||
42 | c-basic-offset: 4 | ||
43 | tab-width: 4 | ||
44 | End: | ||
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 | /* | ||
48 | Local Variables: | ||
49 | c-file-style: "linux" | ||
50 | c-basic-offset: 4 | ||
51 | tab-width: 4 | ||
52 | End: | ||
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 | /* | ||
41 | Local Variables: | ||
42 | c-file-style: "linux" | ||
43 | c-basic-offset: 4 | ||
44 | tab-width: 4 | ||
45 | End: | ||
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 | /* | ||
42 | Local Variables: | ||
43 | c-file-style: "linux" | ||
44 | c-basic-offset: 4 | ||
45 | tab-width: 4 | ||
46 | End: | ||
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 | /* | ||
71 | Local Variables: | ||
72 | c-file-style: "linux" | ||
73 | c-basic-offset: 4 | ||
74 | tab-width: 4 | ||
75 | End: | ||
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 | /* | ||
63 | Local Variables: | ||
64 | c-file-style: "linux" | ||
65 | c-basic-offset: 4 | ||
66 | tab-width: 4 | ||
67 | End: | ||
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 | /* | ||
58 | Local Variables: | ||
59 | c-file-style: "linux" | ||
60 | c-basic-offset: 4 | ||
61 | tab-width: 4 | ||
62 | End: | ||
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 | /* | ||
55 | Local Variables: | ||
56 | c-file-style: "linux" | ||
57 | c-basic-offset: 4 | ||
58 | tab-width: 4 | ||
59 | End: | ||
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 | /* | ||
94 | Local Variables: | ||
95 | c-file-style: "linux" | ||
96 | c-basic-offset: 4 | ||
97 | tab-width: 4 | ||
98 | End: | ||
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 | /* | ||
35 | Local Variables: | ||
36 | c-file-style: "linux" | ||
37 | c-basic-offset: 4 | ||
38 | tab-width: 4 | ||
39 | End: | ||
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 | /* | ||
39 | Local Variables: | ||
40 | c-file-style: "linux" | ||
41 | c-basic-offset: 4 | ||
42 | tab-width: 4 | ||
43 | End: | ||
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 | /* | ||
40 | Local Variables: | ||
41 | c-file-style: "linux" | ||
42 | c-basic-offset: 4 | ||
43 | tab-width: 4 | ||
44 | End: | ||
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 | /* | ||
106 | Local Variables: | ||
107 | c-file-style: "linux" | ||
108 | c-basic-offset: 4 | ||
109 | tab-width: 4 | ||
110 | End: | ||
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 | /* | ||
55 | Local Variables: | ||
56 | c-file-style: "linux" | ||
57 | c-basic-offset: 4 | ||
58 | tab-width: 4 | ||
59 | End: | ||
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 | /* | ||
56 | Local Variables: | ||
57 | c-file-style: "linux" | ||
58 | c-basic-offset: 4 | ||
59 | tab-width: 4 | ||
60 | End: | ||
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 |
31 | const char bb_path_mtab_file[] = "/proc/mounts"; | 19 | const char bb_path_mtab_file[] = "/proc/mounts"; |
32 | #endif | 20 | #endif |
33 | |||
34 | |||
35 | /* END CODE */ | ||
36 | /* | ||
37 | Local Variables: | ||
38 | c-file-style: "linux" | ||
39 | c-basic-offset: 4 | ||
40 | tab-width: 4 | ||
41 | End: | ||
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 | /* | ||
40 | Local Variables: | ||
41 | c-file-style: "linux" | ||
42 | c-basic-offset: 4 | ||
43 | tab-width: 4 | ||
44 | End: | ||
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 | /* | ||
41 | Local Variables: | ||
42 | c-file-style: "linux" | ||
43 | c-basic-offset: 4 | ||
44 | tab-width: 4 | ||
45 | End: | ||
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 | /* | ||
71 | Local Variables: | ||
72 | c-file-style: "linux" | ||
73 | c-basic-offset: 4 | ||
74 | tab-width: 4 | ||
75 | End: | ||
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 | /* | ||
107 | Local Variables: | ||
108 | c-file-style: "linux" | ||
109 | c-basic-offset: 4 | ||
110 | tab-width: 4 | ||
111 | End: | ||
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 | /* | ||
152 | Local Variables: | ||
153 | c-file-style: "linux" | ||
154 | c-basic-offset: 4 | ||
155 | tab-width: 4 | ||
156 | End: | ||
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 | /* | ||
123 | Local Variables: | ||
124 | c-file-style: "linux" | ||
125 | c-basic-offset: 4 | ||
126 | tab-width: 4 | ||
127 | End: | ||
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 | /* | ||
43 | Local Variables: | ||
44 | c-file-style: "linux" | ||
45 | c-basic-offset: 4 | ||
46 | tab-width: 4 | ||
47 | End: | ||
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 | /* | ||
37 | Local Variables: | ||
38 | c-file-style: "linux" | ||
39 | c-basic-offset: 4 | ||
40 | tab-width: 4 | ||
41 | End: | ||
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 | /* | ||
43 | Local Variables: | ||
44 | c-file-style: "linux" | ||
45 | c-basic-offset: 4 | ||
46 | tab-width: 4 | ||
47 | End: | ||
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 | /* | ||
48 | Local Variables: | ||
49 | c-file-style: "linux" | ||
50 | c-basic-offset: 4 | ||
51 | tab-width: 4 | ||
52 | End: | ||
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 | /* | ||
42 | Local Variables: | ||
43 | c-file-style: "linux" | ||
44 | c-basic-offset: 4 | ||
45 | tab-width: 4 | ||
46 | End: | ||
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 | /* | ||
38 | Local Variables: | ||
39 | c-file-style: "linux" | ||
40 | c-basic-offset: 4 | ||
41 | tab-width: 4 | ||
42 | End: | ||
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 | /* | ||
40 | Local Variables: | ||
41 | c-file-style: "linux" | ||
42 | c-basic-offset: 4 | ||
43 | tab-width: 4 | ||
44 | End: | ||
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 | /* | ||
39 | Local Variables: | ||
40 | c-file-style: "linux" | ||
41 | c-basic-offset: 4 | ||
42 | tab-width: 4 | ||
43 | End: | ||
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 | /* | ||
179 | Local Variables: | ||
180 | c-file-style: "linux" | ||
181 | c-basic-offset: 4 | ||
182 | tab-width: 4 | ||
183 | End: | ||
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 | /* | ||
44 | Local Variables: | ||
45 | c-file-style: "linux" | ||
46 | c-basic-offset: 4 | ||
47 | tab-width: 4 | ||
48 | End: | ||
49 | */ | ||