mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 15:03:34 +00:00
Stub out getutline and pututline
This commit is contained in:
parent
3b791d2f44
commit
2af7c802b6
1 changed files with 9 additions and 24 deletions
|
@ -20,22 +20,9 @@
|
|||
#include "libc/errno.h"
|
||||
#include "libc/runtime/utmpx.h"
|
||||
|
||||
void setutent(void) {
|
||||
}
|
||||
|
||||
void endutent(void) {
|
||||
}
|
||||
|
||||
void endutxent(void) {
|
||||
}
|
||||
|
||||
struct utmp *getutent(void) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void updwtmp(const char *x, const struct utmp *y) {
|
||||
}
|
||||
|
||||
void updwtmpx(const char *x, const struct utmpx *y) {
|
||||
}
|
||||
|
||||
|
@ -46,10 +33,6 @@ struct utmpx *pututxline(const struct utmpx *p) {
|
|||
void setutxent(void) {
|
||||
}
|
||||
|
||||
struct utmp *getutid(const struct utmp *x) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct utmpx *getutxent(void) {
|
||||
return 0;
|
||||
}
|
||||
|
@ -67,10 +50,12 @@ int __utmpxname() {
|
|||
return -1;
|
||||
}
|
||||
|
||||
int utmpname(const char *x) {
|
||||
return __utmpxname();
|
||||
}
|
||||
|
||||
int utmpxname(const char *x) {
|
||||
return __utmpxname();
|
||||
}
|
||||
__weak_reference(endutxent, endutent);
|
||||
__weak_reference(setutxent, setutent);
|
||||
__weak_reference(getutxent, getutent);
|
||||
__weak_reference(getutxid, getutid);
|
||||
__weak_reference(getutxline, getutline);
|
||||
__weak_reference(pututxline, pututline);
|
||||
__weak_reference(updwtmpx, updwtmp);
|
||||
__weak_reference(__utmpxname, utmpname);
|
||||
__weak_reference(__utmpxname, utmpxname);
|
||||
|
|
Loading…
Reference in a new issue