options/glibc: Stub getspnam
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
This commit is contained in:
parent
12270301ff
commit
d0c204c67f
|
@ -29,3 +29,8 @@ int ulckpwdf(void) {
|
|||
mlibc::infoLogger() << "mlibc: ulckpwdf is unimplemented like musl" << frg::endlog;
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct spwd *getspnam(const char *) {
|
||||
__ensure(!"Not implemented");
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
|
|
@ -26,6 +26,7 @@ struct spwd {
|
|||
int putspent(const struct spwd *, FILE *);
|
||||
int lckpwdf(void);
|
||||
int ulckpwdf(void);
|
||||
struct spwd *getspnam(const char *);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue