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 /procps/uptime.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 'procps/uptime.c')
-rw-r--r-- | procps/uptime.c | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/procps/uptime.c b/procps/uptime.c index 7784850ae..c1e7af3a5 100644 --- a/procps/uptime.c +++ b/procps/uptime.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 the GPL v2 or later, see the file LICENSE in this tarball. |
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 | /* This version of uptime doesn't display the number of users on the system, | 10 | /* This version of uptime doesn't display the number of users on the system, |
@@ -28,12 +15,11 @@ | |||
28 | 15 | ||
29 | /* getopt not needed */ | 16 | /* getopt not needed */ |
30 | 17 | ||
31 | 18 | #include "busybox.h" | |
32 | #include <stdio.h> | 19 | #include <stdio.h> |
33 | #include <time.h> | 20 | #include <time.h> |
34 | #include <errno.h> | 21 | #include <errno.h> |
35 | #include <stdlib.h> | 22 | #include <stdlib.h> |
36 | #include "busybox.h" | ||
37 | 23 | ||
38 | #ifndef FSHIFT | 24 | #ifndef FSHIFT |
39 | # define FSHIFT 16 /* nr of bits of precision */ | 25 | # define FSHIFT 16 /* nr of bits of precision */ |