projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dfac11
)
legacy/utmpx: Add utmp{,x}name stubs
author
Kylie McClain
<somasis@exherbo.org>
Fri, 22 Jan 2016 20:17:15 +0000
(15:17 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Thu, 28 Jan 2016 05:19:14 +0000
(
00:19
-0500)
src/legacy/utmpx.c
patch
|
blob
|
history
diff --git
a/src/legacy/utmpx.c
b/src/legacy/utmpx.c
index c483e4ed1d65e2ed51b7dbdcd6d26617fc8cee68..46ca4b8b5729df1f2609995688a090dd242a8d93 100644
(file)
--- 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);