aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-03-18 11:59:55 +0000
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-03-18 11:59:55 +0000
commit263e75d051a437b252b47de14c225e75854fdf4e (patch)
tree2d09e5039ee928366be58166bd195ecb73de553c /libbb
parent9aa7f2005d78f1b51376f66d639bd54a6396e915 (diff)
downloadbusybox-263e75d051a437b252b47de14c225e75854fdf4e.tar.gz
busybox-263e75d051a437b252b47de14c225e75854fdf4e.tar.bz2
- fix order of includes.
Diffstat (limited to 'libbb')
-rw-r--r--libbb/bb_pwd.c7
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 @@
* Licensed under the GPL v2, see the file LICENSE in this tarball.
*/
-#include "libbb.h"
#ifdef L_bb_getgrgid
/* Hacked by Tito Ragusa (c) 2004 <farmatito@tiscali.it> to make it more
@@ -27,6 +26,7 @@
* the program exits.
*/
+#include "libbb.h"
#include "grp_.h"
/* gets a groupname given a gid */
@@ -42,6 +42,7 @@ char * bb_getgrgid(char *group, long gid, int bufsize)
#ifdef L_bb_xgetgrnam
#include <stdio.h>
#include <string.h>
+#include "libbb.h"
#include "pwd_.h"
#include "grp_.h"
@@ -62,6 +63,7 @@ long bb_xgetgrnam(const char *name)
#ifdef L_bb_xgetpwnam
#include <stdio.h>
#include <string.h>
+#include "libbb.h"
#include "pwd_.h"
#include "grp_.h"
@@ -97,6 +99,7 @@ long bb_xgetpwnam(const char *name)
* the program exits.
*/
+#include "libbb.h"
#include "pwd_.h"
/* gets a username given a uid */
@@ -126,6 +129,7 @@ char * bb_getpwuid(char *name, long uid, int bufsize)
#include <stdio.h>
#include <assert.h>
+#include "libbb.h"
/* 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)
#ifdef L_get_ug_id
/* indirect dispatcher for pwd helpers. */
#include <stdlib.h>
+#include "libbb.h"
extern unsigned long get_ug_id(const char *s,
long (*__bb_getxxnam)(const char *))