summaryrefslogtreecommitdiff
path: root/debianutils/run_parts.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-02 20:56:16 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-02 20:56:16 +0000
commite15d7573a1263fb364d1678c3a46be47a8b5e5ea (patch)
tree09e7b482b38ac571a01e936fb91df16dd1eeef42 /debianutils/run_parts.c
parentecae66ac16338d8cddb55e1782ebd8c5f670ff53 (diff)
downloadbusybox-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 'debianutils/run_parts.c')
-rw-r--r--debianutils/run_parts.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/debianutils/run_parts.c b/debianutils/run_parts.c
index 862db7a05..c54e515fe 100644
--- a/debianutils/run_parts.c
+++ b/debianutils/run_parts.c
@@ -10,21 +10,7 @@
10 * Copyright (C) 1996-1999 Guy Maor <maor@debian.org> 10 * Copyright (C) 1996-1999 Guy Maor <maor@debian.org>
11 * 11 *
12 * 12 *
13 * This program is free software; you can redistribute it and/or modify 13 * Licensed under GPL v2, see file LICENSE in this tarball for details.
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation; either version 2 of the License, or
16 * (at your option) any later version.
17 *
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software
25 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
26 * 02111-1307 USA
27 *
28 */ 14 */
29 15
30/* This is my first attempt to write a program in C (well, this is my first 16/* This is my first attempt to write a program in C (well, this is my first
@@ -49,10 +35,10 @@
49 * done - declare run_parts_main() as extern and any other function as static? 35 * done - declare run_parts_main() as extern and any other function as static?
50 */ 36 */
51 37
38#include "busybox.h"
52#include <getopt.h> 39#include <getopt.h>
53#include <stdlib.h> 40#include <stdlib.h>
54 41
55#include "busybox.h"
56 42
57static const struct option runparts_long_options[] = { 43static const struct option runparts_long_options[] = {
58 { "test", 0, NULL, 't' }, 44 { "test", 0, NULL, 't' },