]> git.ipfire.org Git - thirdparty/systemd.git/blob - klibc_fixups.h
[PATCH] fix problem where usb devices can be either the main device or the interface
[thirdparty/systemd.git] / klibc_fixups.h
1 #ifdef __KLIBC__
2
3 #ifndef KLIBC_FIXUPS_H
4 #define KLIBC_FIXUPS_H
5
6 struct group {
7 char *gr_name; /* group name */
8 char *gr_passwd; /* group password */
9 gid_t gr_gid; /* group id */
10 char **gr_mem; /* group members */
11 };
12
13 static inline struct group *getgrnam(const char *name)
14 {
15 return NULL;
16 }
17
18
19 struct passwd {
20 char *pw_name; /* user name */
21 char *pw_passwd; /* user password */
22 uid_t pw_uid; /* user id */
23 gid_t pw_gid; /* group id */
24 char *pw_gecos; /* real name */
25 char *pw_dir; /* home directory */
26 char *pw_shell; /* shell program */
27 };
28
29 static inline struct passwd *getpwnam(const char *name)
30 {
31 return NULL;
32 }
33
34
35 #endif
36
37 #endif