include "busybox" after the libc includes tofix compile errors
authorGlenn L McGrath <bug1@ihug.co.nz>
Sat, 7 Dec 2002 23:14:40 +0000 (23:14 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Sat, 7 Dec 2002 23:14:40 +0000 (23:14 -0000)
init/reboot.c
libbb/Makefile.in
libpwdgrp/__getgrent.c
libpwdgrp/__getpwent.c
libpwdgrp/getpwuid.c
libpwdgrp/pwent.c
libpwdgrp/shadow.c

index 1c9eedde53c52fa886a18bc5ba69055ad985dab3..872d9e741b005e6e2dcf1305c620658e01dd2342 100644 (file)
  *
  */
 
-#include "busybox.h"
 #include <signal.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <getopt.h>
 
+#include "busybox.h"
+
 #if (__GNU_LIBRARY__ > 5) || defined(__dietlibc__) 
   #include <sys/reboot.h>
   #define init_reboot(magic) reboot(magic)
 #else
   #define init_reboot(magic) reboot(0xfee1dead, 672274793, magic)
 #endif
+
 #ifndef RB_ENABLE_CAD
 static const int RB_ENABLE_CAD = 0x89abcdef;
 static const int RB_AUTOBOOT = 0x01234567;
index 4a6df77f7c38604f5c2c6333d6cf97ac6b72943a..e00fd2f51fd86d28ea435e670ebe7cbdde07ba67 100644 (file)
@@ -24,8 +24,8 @@ LIBBB_DIR:=$(TOPDIR)libbb/
 endif
 
 LIBBB_SRC:= \
-       ask_confirmation.c chomp.c compare_string_array.c concat_path_file.c \
-       copy_file.c copy_file_chunk.c dump.c libc5.c device_open.c error_msg.c \
+       ask_confirmation.c chomp.c concat_path_file.c copy_file.c \
+       copy_file_chunk.c dump.c libc5.c device_open.c error_msg.c \
        error_msg_and_die.c fgets_str.c find_mount_point.c find_pid_by_name.c \
        find_root_device.c full_read.c full_write.c get_console.c \
        get_last_path_component.c get_line_from_file.c  \
index 5fb4193cb5716363f382fef3ec88a0a8cdfed88a..39230104879b5b730859ca78f20000cb2a230408 100644 (file)
  *
  */
 
-#include "busybox.h" 
-
 #include <unistd.h>
 #include <stdlib.h>
 #include <string.h>
+
+#include "busybox.h"
 #include "grp_.h"
 
 /*
index d553250f49068e08c1321197a9bae1e8be0b6cc0..1b38c27efc6e5a89f3e7713d372f9e0858e9cb7b 100644 (file)
  *
  */
 
-#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
 
index 819c874aca3ca8f3ec7b5f779167a0975321bb0a..23ff3aa889713d8fc613d4fa07d6ac9791163012 100644 (file)
  *
  */
 
-#include "busybox.h" 
-
 #include <stdlib.h>
 #include <unistd.h>
 #include <fcntl.h>
+
 #include "pwd_.h"
+#include "busybox.h"
 
 struct passwd *getpwuid(uid_t uid)
 {
index 1f4239741c95a42fd58f558836acabe50ded7a83..133fa4564312c654e04904752e32f47a85ee07a5 100644 (file)
  *
  */
 
-#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
index c79417383b65648fa39302a20508632585c32f3b..2d2b108f2cbcd68b20f0e1ce1dda97b9e58689b2 100644 (file)
  *               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;