cross-build: Remove redundant lines.
There's two identical gid_from_group lines in a row. We only need one. Ditto for uid_from_user(). Sponsored by: Netflix Reviewed by: bapt, jrtc27 Differential Revision: https://reviews.freebsd.org/D32442
This commit is contained in:
parent
9082bc4c3d
commit
880aec7361
@ -47,8 +47,6 @@ int pwcache_groupdb(int (*a_setgroupent)(int), void (*a_endgrent)(void),
|
||||
|
||||
int gid_from_group(const char *name, gid_t *gid);
|
||||
|
||||
int gid_from_group(const char *name, gid_t *gid);
|
||||
|
||||
const char *group_from_gid(gid_t gid, int noname);
|
||||
|
||||
#ifdef __linux__
|
||||
|
@ -45,8 +45,6 @@ int pwcache_userdb(int (*a_setpassent)(int), void (*a_endpwent)(void),
|
||||
struct passwd *(*a_getpwnam)(const char *),
|
||||
struct passwd *(*a_getpwuid)(uid_t));
|
||||
|
||||
int uid_from_user(const char *name, uid_t *uid);
|
||||
|
||||
int uid_from_user(const char *name, uid_t *uid);
|
||||
const char *user_from_uid(uid_t uid, int noname);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user