summaryrefslogtreecommitdiff
path: root/klibc_fixups.h
diff options
context:
space:
mode:
Diffstat (limited to 'klibc_fixups.h')
-rw-r--r--klibc_fixups.h25
1 files changed, 8 insertions, 17 deletions
diff --git a/klibc_fixups.h b/klibc_fixups.h
index 1ac112b087..19bfd51caa 100644
--- a/klibc_fixups.h
+++ b/klibc_fixups.h
@@ -3,19 +3,6 @@
#ifndef KLIBC_FIXUPS_H
#define KLIBC_FIXUPS_H
-struct group {
- char *gr_name; /* group name */
- char *gr_passwd; /* group password */
- gid_t gr_gid; /* group id */
- char **gr_mem; /* group members */
-};
-
-static inline struct group *getgrnam(const char *name)
-{
- return NULL;
-}
-
-
struct passwd {
char *pw_name; /* user name */
char *pw_passwd; /* user password */
@@ -26,11 +13,15 @@ struct passwd {
char *pw_shell; /* shell program */
};
-static inline struct passwd *getpwnam(const char *name)
-{
- return NULL;
-}
+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