aboutsummaryrefslogtreecommitdiff
path: root/libpwdgrp
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-07-03 23:19:26 +0000
committerEric Andersen <andersen@codepoet.org>2002-07-03 23:19:26 +0000
commit887ca79f04cdf45874ed783c1fb9b950bf25a246 (patch)
tree25f08b2b2ea8b333aac91b6b75876f82a4cfef6f /libpwdgrp
parent360e2549544b813dd805361d04744c5a4a630bb8 (diff)
downloadbusybox-w32-887ca79f04cdf45874ed783c1fb9b950bf25a246.tar.gz
busybox-w32-887ca79f04cdf45874ed783c1fb9b950bf25a246.tar.bz2
busybox-w32-887ca79f04cdf45874ed783c1fb9b950bf25a246.zip
Scrub pwd.h and grp.h handling so we don't have to play any
silly games. -Erik
Diffstat (limited to 'libpwdgrp')
-rw-r--r--libpwdgrp/__getgrent.c2
-rw-r--r--libpwdgrp/__getpwent.c2
-rw-r--r--libpwdgrp/fgetgrent.c2
-rw-r--r--libpwdgrp/fgetpwent.c2
-rw-r--r--libpwdgrp/getgrgid.c2
-rw-r--r--libpwdgrp/getgrnam.c2
-rw-r--r--libpwdgrp/getpw.c2
-rw-r--r--libpwdgrp/getpwnam.c2
-rw-r--r--libpwdgrp/getpwuid.c2
-rw-r--r--libpwdgrp/grent.c2
-rw-r--r--libpwdgrp/initgroups.c2
-rw-r--r--libpwdgrp/putpwent.c2
-rw-r--r--libpwdgrp/pwent.c2
-rw-r--r--libpwdgrp/setgroups.c2
14 files changed, 14 insertions, 14 deletions
diff --git a/libpwdgrp/__getgrent.c b/libpwdgrp/__getgrent.c
index 571da3fc3..39cf1890a 100644
--- a/libpwdgrp/__getgrent.c
+++ b/libpwdgrp/__getgrent.c
@@ -23,7 +23,7 @@
23#include <unistd.h> 23#include <unistd.h>
24#include <stdlib.h> 24#include <stdlib.h>
25#include <string.h> 25#include <string.h>
26#include "grp.h" 26#include "grp_.h"
27 27
28/* 28/*
29 * Define GR_SCALE_DYNAMIC if you want grp to dynamically scale its read buffer 29 * Define GR_SCALE_DYNAMIC if you want grp to dynamically scale its read buffer
diff --git a/libpwdgrp/__getpwent.c b/libpwdgrp/__getpwent.c
index e406b8824..d553250f4 100644
--- a/libpwdgrp/__getpwent.c
+++ b/libpwdgrp/__getpwent.c
@@ -24,7 +24,7 @@
24#include <unistd.h> 24#include <unistd.h>
25#include <string.h> 25#include <string.h>
26#include <fcntl.h> 26#include <fcntl.h>
27#include "pwd.h" 27#include "pwd_.h"
28 28
29#define PWD_BUFFER_SIZE 256 29#define PWD_BUFFER_SIZE 256
30 30
diff --git a/libpwdgrp/fgetgrent.c b/libpwdgrp/fgetgrent.c
index c5d63e05f..1492a1a95 100644
--- a/libpwdgrp/fgetgrent.c
+++ b/libpwdgrp/fgetgrent.c
@@ -22,7 +22,7 @@
22 22
23#include <stdio.h> 23#include <stdio.h>
24#include <errno.h> 24#include <errno.h>
25#include "grp.h" 25#include "grp_.h"
26 26
27struct group *fgetgrent(FILE * file) 27struct group *fgetgrent(FILE * file)
28{ 28{
diff --git a/libpwdgrp/fgetpwent.c b/libpwdgrp/fgetpwent.c
index 6537600ff..54c3b3adc 100644
--- a/libpwdgrp/fgetpwent.c
+++ b/libpwdgrp/fgetpwent.c
@@ -22,7 +22,7 @@
22 22
23#include <errno.h> 23#include <errno.h>
24#include <stdio.h> 24#include <stdio.h>
25#include "pwd.h" 25#include "pwd_.h"
26 26
27struct passwd *fgetpwent(FILE * file) 27struct passwd *fgetpwent(FILE * file)
28{ 28{
diff --git a/libpwdgrp/getgrgid.c b/libpwdgrp/getgrgid.c
index e70346a77..73f0cca97 100644
--- a/libpwdgrp/getgrgid.c
+++ b/libpwdgrp/getgrgid.c
@@ -23,7 +23,7 @@
23#include <sys/types.h> 23#include <sys/types.h>
24#include <unistd.h> 24#include <unistd.h>
25#include <fcntl.h> 25#include <fcntl.h>
26#include "grp.h" 26#include "grp_.h"
27 27
28struct group *getgrgid(const gid_t gid) 28struct group *getgrgid(const gid_t gid)
29{ 29{
diff --git a/libpwdgrp/getgrnam.c b/libpwdgrp/getgrnam.c
index 62b2b26ca..919622ea1 100644
--- a/libpwdgrp/getgrnam.c
+++ b/libpwdgrp/getgrnam.c
@@ -24,7 +24,7 @@
24#include <string.h> 24#include <string.h>
25#include <errno.h> 25#include <errno.h>
26#include <fcntl.h> 26#include <fcntl.h>
27#include "grp.h" 27#include "grp_.h"
28 28
29struct group *getgrnam(const char *name) 29struct group *getgrnam(const char *name)
30{ 30{
diff --git a/libpwdgrp/getpw.c b/libpwdgrp/getpw.c
index ca11188aa..d46e2c7da 100644
--- a/libpwdgrp/getpw.c
+++ b/libpwdgrp/getpw.c
@@ -23,7 +23,7 @@
23#include <sys/types.h> 23#include <sys/types.h>
24#include <errno.h> 24#include <errno.h>
25#include <stdio.h> 25#include <stdio.h>
26#include "pwd.h" 26#include "pwd_.h"
27 27
28int getpw(uid_t uid, char *buf) 28int getpw(uid_t uid, char *buf)
29{ 29{
diff --git a/libpwdgrp/getpwnam.c b/libpwdgrp/getpwnam.c
index 88a31f8c2..524fa09be 100644
--- a/libpwdgrp/getpwnam.c
+++ b/libpwdgrp/getpwnam.c
@@ -24,7 +24,7 @@
24#include <string.h> 24#include <string.h>
25#include <errno.h> 25#include <errno.h>
26#include <fcntl.h> 26#include <fcntl.h>
27#include "pwd.h" 27#include "pwd_.h"
28 28
29 29
30struct passwd *getpwnam(const char *name) 30struct passwd *getpwnam(const char *name)
diff --git a/libpwdgrp/getpwuid.c b/libpwdgrp/getpwuid.c
index 776ed12da..819c874ac 100644
--- a/libpwdgrp/getpwuid.c
+++ b/libpwdgrp/getpwuid.c
@@ -23,7 +23,7 @@
23#include <stdlib.h> 23#include <stdlib.h>
24#include <unistd.h> 24#include <unistd.h>
25#include <fcntl.h> 25#include <fcntl.h>
26#include "pwd.h" 26#include "pwd_.h"
27 27
28struct passwd *getpwuid(uid_t uid) 28struct passwd *getpwuid(uid_t uid)
29{ 29{
diff --git a/libpwdgrp/grent.c b/libpwdgrp/grent.c
index 5b1cb6823..df9195599 100644
--- a/libpwdgrp/grent.c
+++ b/libpwdgrp/grent.c
@@ -28,7 +28,7 @@
28 28
29#include <unistd.h> 29#include <unistd.h>
30#include <fcntl.h> 30#include <fcntl.h>
31#include "grp.h" 31#include "grp_.h"
32 32
33static int grp_fd = -1; 33static int grp_fd = -1;
34 34
diff --git a/libpwdgrp/initgroups.c b/libpwdgrp/initgroups.c
index 9b5dcbcb2..57b25f343 100644
--- a/libpwdgrp/initgroups.c
+++ b/libpwdgrp/initgroups.c
@@ -23,7 +23,7 @@
23#include <unistd.h> 23#include <unistd.h>
24#include <string.h> 24#include <string.h>
25#include <fcntl.h> 25#include <fcntl.h>
26#include "grp.h" 26#include "grp_.h"
27 27
28/* 28/*
29 * Define GR_SCALE_DYNAMIC if you want grp to dynamically scale its read buffer 29 * Define GR_SCALE_DYNAMIC if you want grp to dynamically scale its read buffer
diff --git a/libpwdgrp/putpwent.c b/libpwdgrp/putpwent.c
index 88dffc952..de285ebaf 100644
--- a/libpwdgrp/putpwent.c
+++ b/libpwdgrp/putpwent.c
@@ -22,7 +22,7 @@
22 22
23#include <stdio.h> 23#include <stdio.h>
24#include <errno.h> 24#include <errno.h>
25#include "pwd.h" 25#include "pwd_.h"
26 26
27int putpwent(const struct passwd *passwd, FILE * f) 27int putpwent(const struct passwd *passwd, FILE * f)
28{ 28{
diff --git a/libpwdgrp/pwent.c b/libpwdgrp/pwent.c
index 84bd6176b..1f4239741 100644
--- a/libpwdgrp/pwent.c
+++ b/libpwdgrp/pwent.c
@@ -23,7 +23,7 @@
23#include <unistd.h> 23#include <unistd.h>
24#include <stdlib.h> 24#include <stdlib.h>
25#include <errno.h> 25#include <errno.h>
26#include "pwd.h" 26#include "pwd_.h"
27#include <fcntl.h> 27#include <fcntl.h>
28 28
29/* 29/*
diff --git a/libpwdgrp/setgroups.c b/libpwdgrp/setgroups.c
index c9b86f016..c3af1ea77 100644
--- a/libpwdgrp/setgroups.c
+++ b/libpwdgrp/setgroups.c
@@ -35,7 +35,7 @@
35/* This is needed for libc5 */ 35/* This is needed for libc5 */
36#include <asm/unistd.h> 36#include <asm/unistd.h>
37#endif 37#endif
38#include "grp.h" 38#include "grp_.h"
39 39
40//#define __NR_setgroups 81 40//#define __NR_setgroups 81
41_syscall2(int, setgroups, size_t, size, const gid_t *, list); 41_syscall2(int, setgroups, size_t, size, const gid_t *, list);