[BusyBox-cvs] busybox/libpwdgrp __getgrent.c,1.3,1.4 __getpwent.c,1.2,1.3 getpwuid.c,1.2,1.3 pwent.c,1.2,1.3 shadow.c,1.2,1.3
Glenn McGrath
bug1 at busybox.net
Sat Dec 7 23:14:44 UTC 2002
Update of /var/cvs/busybox/libpwdgrp
In directory winder:/tmp/cvs-serv19125/libpwdgrp
Modified Files:
__getgrent.c __getpwent.c getpwuid.c pwent.c shadow.c
Log Message:
include "busybox" after the libc includes tofix compile errors
Index: __getgrent.c
===================================================================
RCS file: /var/cvs/busybox/libpwdgrp/__getgrent.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- __getgrent.c 28 Nov 2002 11:27:26 -0000 1.3
+++ __getgrent.c 7 Dec 2002 23:14:39 -0000 1.4
@@ -18,11 +18,11 @@
*
*/
-#include "busybox.h"
-
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
+
+#include "busybox.h"
#include "grp_.h"
/*
Index: __getpwent.c
===================================================================
RCS file: /var/cvs/busybox/libpwdgrp/__getpwent.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- __getpwent.c 3 Jul 2002 23:19:15 -0000 1.2
+++ __getpwent.c 7 Dec 2002 23:14:40 -0000 1.3
@@ -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
Index: getpwuid.c
===================================================================
RCS file: /var/cvs/busybox/libpwdgrp/getpwuid.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- getpwuid.c 3 Jul 2002 23:19:15 -0000 1.2
+++ getpwuid.c 7 Dec 2002 23:14:40 -0000 1.3
@@ -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)
{
Index: pwent.c
===================================================================
RCS file: /var/cvs/busybox/libpwdgrp/pwent.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- pwent.c 3 Jul 2002 23:19:16 -0000 1.2
+++ pwent.c 7 Dec 2002 23:14:40 -0000 1.3
@@ -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
Index: shadow.c
===================================================================
RCS file: /var/cvs/busybox/libpwdgrp/shadow.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- shadow.c 3 Jul 2002 04:47:41 -0000 1.2
+++ shadow.c 7 Dec 2002 23:14:40 -0000 1.3
@@ -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;
More information about the busybox-cvs
mailing list