Scrub pwd.h and grp.h handling so we don't have to play any

silly games.
 -Erik
This commit is contained in:
Eric Andersen
2002-07-03 23:19:26 +00:00
parent 360e254954
commit 887ca79f04
31 changed files with 42 additions and 42 deletions

View File

@@ -23,7 +23,7 @@
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include "grp.h"
#include "grp_.h"
/*
* Define GR_SCALE_DYNAMIC if you want grp to dynamically scale its read buffer

View File

@@ -24,7 +24,7 @@
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
#include "pwd.h"
#include "pwd_.h"
#define PWD_BUFFER_SIZE 256

View File

@@ -22,7 +22,7 @@
#include <stdio.h>
#include <errno.h>
#include "grp.h"
#include "grp_.h"
struct group *fgetgrent(FILE * file)
{

View File

@@ -22,7 +22,7 @@
#include <errno.h>
#include <stdio.h>
#include "pwd.h"
#include "pwd_.h"
struct passwd *fgetpwent(FILE * file)
{

View File

@@ -23,7 +23,7 @@
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
#include "grp.h"
#include "grp_.h"
struct group *getgrgid(const gid_t gid)
{

View File

@@ -24,7 +24,7 @@
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include "grp.h"
#include "grp_.h"
struct group *getgrnam(const char *name)
{

View File

@@ -23,7 +23,7 @@
#include <sys/types.h>
#include <errno.h>
#include <stdio.h>
#include "pwd.h"
#include "pwd_.h"
int getpw(uid_t uid, char *buf)
{

View File

@@ -24,7 +24,7 @@
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include "pwd.h"
#include "pwd_.h"
struct passwd *getpwnam(const char *name)

View File

@@ -23,7 +23,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include "pwd.h"
#include "pwd_.h"
struct passwd *getpwuid(uid_t uid)
{

View File

@@ -28,7 +28,7 @@
#include <unistd.h>
#include <fcntl.h>
#include "grp.h"
#include "grp_.h"
static int grp_fd = -1;

View File

@@ -23,7 +23,7 @@
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
#include "grp.h"
#include "grp_.h"
/*
* Define GR_SCALE_DYNAMIC if you want grp to dynamically scale its read buffer

View File

@@ -22,7 +22,7 @@
#include <stdio.h>
#include <errno.h>
#include "pwd.h"
#include "pwd_.h"
int putpwent(const struct passwd *passwd, FILE * f)
{

View File

@@ -23,7 +23,7 @@
#include <unistd.h>
#include <stdlib.h>
#include <errno.h>
#include "pwd.h"
#include "pwd_.h"
#include <fcntl.h>
/*

View File

@@ -35,7 +35,7 @@
/* This is needed for libc5 */
#include <asm/unistd.h>
#endif
#include "grp.h"
#include "grp_.h"
//#define __NR_setgroups 81
_syscall2(int, setgroups, size_t, size, const gid_t *, list);