summaryrefslogtreecommitdiff
path: root/src/stub/utmpx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stub/utmpx.c')
-rw-r--r--src/stub/utmpx.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stub/utmpx.c b/src/stub/utmpx.c
index 32003969..42190ec2 100644
--- a/src/stub/utmpx.c
+++ b/src/stub/utmpx.c
@@ -1,5 +1,6 @@
#include <utmpx.h>
#include <stddef.h>
+#include "libc.h"
void endutxent(void)
{
@@ -28,3 +29,10 @@ struct utmpx *pututxline(const struct utmpx *ut)
{
return NULL;
}
+
+weak_alias(endutxent, endutent);
+weak_alias(setutxent, setutent);
+weak_alias(getutxent, getutent);
+weak_alias(getutxid, getutid);
+weak_alias(getutxline, getutline);
+weak_alias(pututxline, pututline);