diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-06-02 20:56:16 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-06-02 20:56:16 +0000 |
commit | e15d7573a1263fb364d1678c3a46be47a8b5e5ea (patch) | |
tree | 09e7b482b38ac571a01e936fb91df16dd1eeef42 /findutils/xargs.c | |
parent | ecae66ac16338d8cddb55e1782ebd8c5f670ff53 (diff) | |
download | busybox-w32-e15d7573a1263fb364d1678c3a46be47a8b5e5ea.tar.gz busybox-w32-e15d7573a1263fb364d1678c3a46be47a8b5e5ea.tar.bz2 busybox-w32-e15d7573a1263fb364d1678c3a46be47a8b5e5ea.zip |
- move #include busybox.h to the very top so we pull in the config
and eventual platform specific includes in early.
Diffstat (limited to 'findutils/xargs.c')
-rw-r--r-- | findutils/xargs.c | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/findutils/xargs.c b/findutils/xargs.c index ec6d99cac..c3a892695 100644 --- a/findutils/xargs.c +++ b/findutils/xargs.c | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* | 2 | /* |
2 | * Mini xargs implementation for busybox | 3 | * Mini xargs implementation for busybox |
3 | * Options are supported: "-prtx -n max_arg -s max_chars -e[ouf_str]" | 4 | * Options are supported: "-prtx -n max_arg -s max_chars -e[ouf_str]" |
@@ -9,25 +10,14 @@ | |||
9 | * - Mike Rendell <michael@cs.mun.ca> | 10 | * - Mike Rendell <michael@cs.mun.ca> |
10 | * and David MacKenzie <djm@gnu.ai.mit.edu>. | 11 | * and David MacKenzie <djm@gnu.ai.mit.edu>. |
11 | * | 12 | * |
12 | * This program is free software; you can redistribute it and/or modify | 13 | * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. |
13 | * it under the terms of the GNU General Public License as published by | ||
14 | * the Free Software Foundation; either version 2 of the License, or | ||
15 | * (at your option) any later version. | ||
16 | * | ||
17 | * This program is distributed in the hope that it will be useful, | ||
18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
20 | * General Public License for more details. | ||
21 | * | ||
22 | * You should have received a copy of the GNU General Public License | ||
23 | * along with this program; if not, write to the Free Software | ||
24 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
25 | * | 14 | * |
26 | * xargs is described in the Single Unix Specification v3 at | 15 | * xargs is described in the Single Unix Specification v3 at |
27 | * http://www.opengroup.org/onlinepubs/007904975/utilities/xargs.html | 16 | * http://www.opengroup.org/onlinepubs/007904975/utilities/xargs.html |
28 | * | 17 | * |
29 | */ | 18 | */ |
30 | 19 | ||
20 | #include "busybox.h" | ||
31 | #include <stdio.h> | 21 | #include <stdio.h> |
32 | #include <stdlib.h> | 22 | #include <stdlib.h> |
33 | #include <string.h> | 23 | #include <string.h> |
@@ -37,7 +27,6 @@ | |||
37 | #include <fcntl.h> | 27 | #include <fcntl.h> |
38 | #include <sys/types.h> | 28 | #include <sys/types.h> |
39 | #include <sys/wait.h> | 29 | #include <sys/wait.h> |
40 | #include "busybox.h" | ||
41 | 30 | ||
42 | /* COMPAT: SYSV version defaults size (and has a max value of) to 470. | 31 | /* COMPAT: SYSV version defaults size (and has a max value of) to 470. |
43 | We try to make it as large as possible. */ | 32 | We try to make it as large as possible. */ |