diff --git a/include/utmp.h b/include/utmp.h index b145a11..8ffe3d7 100644 --- a/include/utmp.h +++ b/include/utmp.h @@ -33,6 +33,7 @@ struct utmp *pututline(const struct utmp *); void setutent(void); void updwtmp(const char *, const struct utmp *); +void logwtmp(const char *, const char *, const char *); #define _PATH_UTMP "/dev/null" #define _PATH_WTMP "/dev/null" diff --git a/src/stub/utmpx.c b/src/stub/utmpx.c index c483e4e..1d51d96 100644 --- a/src/stub/utmpx.c +++ b/src/stub/utmpx.c @@ -34,6 +34,10 @@ void updwtmpx(const char *f, const struct utmpx *u) { } +void logwtmp(const char *l, const char *n, const char *h) +{ +} + weak_alias(endutxent, endutent); weak_alias(setutxent, setutent); weak_alias(getutxent, getutent);