diff options
author | Kylie McClain <somasis@exherbo.org> | 2016-01-22 15:17:15 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-01-28 00:19:14 -0500 |
commit | 378f8cb5222b63e4f8532c757ce54e4074567e1f (patch) | |
tree | c78a23dc9e02e2161ff9a0a7ad42256572559a39 /src/legacy | |
parent | 4dfac11538cb20c848c30d754863800061ee8c81 (diff) | |
download | musl-378f8cb5222b63e4f8532c757ce54e4074567e1f.tar.gz musl-378f8cb5222b63e4f8532c757ce54e4074567e1f.tar.bz2 musl-378f8cb5222b63e4f8532c757ce54e4074567e1f.tar.xz musl-378f8cb5222b63e4f8532c757ce54e4074567e1f.zip |
legacy/utmpx: Add utmp{,x}name stubs
Diffstat (limited to 'src/legacy')
-rw-r--r-- | src/legacy/utmpx.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/legacy/utmpx.c b/src/legacy/utmpx.c index c483e4ed..46ca4b8b 100644 --- a/src/legacy/utmpx.c +++ b/src/legacy/utmpx.c @@ -34,6 +34,11 @@ void updwtmpx(const char *f, const struct utmpx *u) { } +int __utmpxname(const char *f) +{ + return -1; +} + weak_alias(endutxent, endutent); weak_alias(setutxent, setutent); weak_alias(getutxent, getutent); @@ -41,3 +46,5 @@ weak_alias(getutxid, getutid); weak_alias(getutxline, getutline); weak_alias(pututxline, pututline); weak_alias(updwtmpx, updwtmp); +weak_alias(__utmpxname, utmpname); +weak_alias(__utmpxname, utmpxname); |