diff options
author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-03-18 11:59:55 +0000 |
---|---|---|
committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-03-18 11:59:55 +0000 |
commit | 7043c75974293bf3967eb865ae5c1cdfbc7f0d62 (patch) | |
tree | 2d09e5039ee928366be58166bd195ecb73de553c /libbb | |
parent | e13850160430bcf62260306262679a49de272c69 (diff) | |
download | busybox-w32-7043c75974293bf3967eb865ae5c1cdfbc7f0d62.tar.gz busybox-w32-7043c75974293bf3967eb865ae5c1cdfbc7f0d62.tar.bz2 busybox-w32-7043c75974293bf3967eb865ae5c1cdfbc7f0d62.zip |
- fix order of includes.
git-svn-id: svn://busybox.net/trunk/busybox@14564 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/bb_pwd.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libbb/bb_pwd.c b/libbb/bb_pwd.c index cbd72af2f..7d7600c52 100644 --- a/libbb/bb_pwd.c +++ b/libbb/bb_pwd.c | |||
@@ -7,7 +7,6 @@ | |||
7 | * Licensed under the GPL v2, see the file LICENSE in this tarball. | 7 | * Licensed under the GPL v2, see the file LICENSE in this tarball. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include "libbb.h" | ||
11 | 10 | ||
12 | #ifdef L_bb_getgrgid | 11 | #ifdef L_bb_getgrgid |
13 | /* Hacked by Tito Ragusa (c) 2004 <farmatito@tiscali.it> to make it more | 12 | /* Hacked by Tito Ragusa (c) 2004 <farmatito@tiscali.it> to make it more |
@@ -27,6 +26,7 @@ | |||
27 | * the program exits. | 26 | * the program exits. |
28 | */ | 27 | */ |
29 | 28 | ||
29 | #include "libbb.h" | ||
30 | #include "grp_.h" | 30 | #include "grp_.h" |
31 | 31 | ||
32 | /* gets a groupname given a gid */ | 32 | /* gets a groupname given a gid */ |
@@ -42,6 +42,7 @@ char * bb_getgrgid(char *group, long gid, int bufsize) | |||
42 | #ifdef L_bb_xgetgrnam | 42 | #ifdef L_bb_xgetgrnam |
43 | #include <stdio.h> | 43 | #include <stdio.h> |
44 | #include <string.h> | 44 | #include <string.h> |
45 | #include "libbb.h" | ||
45 | #include "pwd_.h" | 46 | #include "pwd_.h" |
46 | #include "grp_.h" | 47 | #include "grp_.h" |
47 | 48 | ||
@@ -62,6 +63,7 @@ long bb_xgetgrnam(const char *name) | |||
62 | #ifdef L_bb_xgetpwnam | 63 | #ifdef L_bb_xgetpwnam |
63 | #include <stdio.h> | 64 | #include <stdio.h> |
64 | #include <string.h> | 65 | #include <string.h> |
66 | #include "libbb.h" | ||
65 | #include "pwd_.h" | 67 | #include "pwd_.h" |
66 | #include "grp_.h" | 68 | #include "grp_.h" |
67 | 69 | ||
@@ -97,6 +99,7 @@ long bb_xgetpwnam(const char *name) | |||
97 | * the program exits. | 99 | * the program exits. |
98 | */ | 100 | */ |
99 | 101 | ||
102 | #include "libbb.h" | ||
100 | #include "pwd_.h" | 103 | #include "pwd_.h" |
101 | 104 | ||
102 | /* gets a username given a uid */ | 105 | /* gets a username given a uid */ |
@@ -126,6 +129,7 @@ char * bb_getpwuid(char *name, long uid, int bufsize) | |||
126 | 129 | ||
127 | #include <stdio.h> | 130 | #include <stdio.h> |
128 | #include <assert.h> | 131 | #include <assert.h> |
132 | #include "libbb.h" | ||
129 | 133 | ||
130 | 134 | ||
131 | /* internal function for bb_getpwuid and bb_getgrgid */ | 135 | /* internal function for bb_getpwuid and bb_getgrgid */ |
@@ -148,6 +152,7 @@ char * bb_getug(char *buffer, char *idname, long id, int bufsize, char prefix) | |||
148 | #ifdef L_get_ug_id | 152 | #ifdef L_get_ug_id |
149 | /* indirect dispatcher for pwd helpers. */ | 153 | /* indirect dispatcher for pwd helpers. */ |
150 | #include <stdlib.h> | 154 | #include <stdlib.h> |
155 | #include "libbb.h" | ||
151 | 156 | ||
152 | extern unsigned long get_ug_id(const char *s, | 157 | extern unsigned long get_ug_id(const char *s, |
153 | long (*__bb_getxxnam)(const char *)) | 158 | long (*__bb_getxxnam)(const char *)) |