summaryrefslogtreecommitdiff
path: root/klibc_fixups/pwd.h
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-03-06 06:16:52 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:48:48 -0700
commit57e1a2770c4d85edd377488906c437f6d1e9b369 (patch)
tree1418c47cf859ef5bea9a21b181c16258d295cd66 /klibc_fixups/pwd.h
parent5f335ca4afaa189799225f856f3af8b3d9fd2e1c (diff)
[PATCH] remove Makefile magic for klibc integration
The new libsysfs and klibc don't need that anymore. Wrap getpwnam(), so we can use the built-in /etc/passwd parser for statically compiled glibc binaries too.
Diffstat (limited to 'klibc_fixups/pwd.h')
-rw-r--r--klibc_fixups/pwd.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/klibc_fixups/pwd.h b/klibc_fixups/pwd.h
deleted file mode 100644
index f5de6c50b8..0000000000
--- a/klibc_fixups/pwd.h
+++ /dev/null
@@ -1,27 +0,0 @@
-#ifdef __KLIBC__
-
-#ifndef _PWD_H
-#define _PWD_H
-
-struct passwd {
- char *pw_name; /* user name */
- char *pw_passwd; /* user password */
- uid_t pw_uid; /* user id */
- gid_t pw_gid; /* group id */
- char *pw_gecos; /* real name */
- char *pw_dir; /* home directory */
- char *pw_shell; /* shell program */
-};
-
-struct group {
- char *gr_name; /* group name */
- char *gr_passwd; /* group password */
- gid_t gr_gid; /* group id */
- char **gr_mem; /* group members */
-};
-
-struct passwd *getpwnam(const char *name);
-struct group *getgrnam(const char *name);
-
-#endif /* _PWD_H */
-#endif /* __KLIBC__ */