summaryrefslogtreecommitdiff
path: root/libpwdgrp
diff options
context:
space:
mode:
Diffstat (limited to 'libpwdgrp')
-rw-r--r--libpwdgrp/__getgrent.c4
-rw-r--r--libpwdgrp/__getpwent.c4
-rw-r--r--libpwdgrp/getpwuid.c4
-rw-r--r--libpwdgrp/pwent.c3
-rw-r--r--libpwdgrp/shadow.c4
5 files changed, 9 insertions, 10 deletions
diff --git a/libpwdgrp/__getgrent.c b/libpwdgrp/__getgrent.c
index 5fb4193..3923010 100644
--- a/libpwdgrp/__getgrent.c
+++ b/libpwdgrp/__getgrent.c
@@ -18,11 +18,11 @@
*
*/
-#include "busybox.h"
-
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
+
+#include "busybox.h"
#include "grp_.h"
/*
diff --git a/libpwdgrp/__getpwent.c b/libpwdgrp/__getpwent.c
index d553250..1b38c27 100644
--- a/libpwdgrp/__getpwent.c
+++ b/libpwdgrp/__getpwent.c
@@ -18,13 +18,13 @@
*
*/
-#include "busybox.h"
-
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
+
#include "pwd_.h"
+#include "busybox.h"
#define PWD_BUFFER_SIZE 256
diff --git a/libpwdgrp/getpwuid.c b/libpwdgrp/getpwuid.c
index 819c874..23ff3aa 100644
--- a/libpwdgrp/getpwuid.c
+++ b/libpwdgrp/getpwuid.c
@@ -18,12 +18,12 @@
*
*/
-#include "busybox.h"
-
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
+
#include "pwd_.h"
+#include "busybox.h"
struct passwd *getpwuid(uid_t uid)
{
diff --git a/libpwdgrp/pwent.c b/libpwdgrp/pwent.c
index 1f42397..133fa45 100644
--- a/libpwdgrp/pwent.c
+++ b/libpwdgrp/pwent.c
@@ -18,14 +18,13 @@
*
*/
-#include "busybox.h"
-
#include <unistd.h>
#include <stdlib.h>
#include <errno.h>
#include "pwd_.h"
#include <fcntl.h>
+#include "busybox.h"
/*
* setpwent(), endpwent(), and getpwent() are included in the same object
* file, since one cannot be used without the other two, so it makes sense to
diff --git a/libpwdgrp/shadow.c b/libpwdgrp/shadow.c
index c794173..2d2b108 100644
--- a/libpwdgrp/shadow.c
+++ b/libpwdgrp/shadow.c
@@ -33,12 +33,12 @@
* lckpwdf ulckpwdf
*/
-#include "busybox.h"
-
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+
+#include "busybox.h"
#include "shadow_.h"
static FILE *shadow;