fix namespace violations in utmpx.h
This commit is contained in:
parent
d18df33cb1
commit
a1527a0c3e
2 changed files with 12 additions and 5 deletions
|
|
@ -10,6 +10,7 @@ extern "C" {
|
|||
#define ACCOUNTING 9
|
||||
#define UT_NAMESIZE 32
|
||||
#define UT_HOSTSIZE 256
|
||||
#define UT_LINESIZE 32
|
||||
|
||||
struct lastlog {
|
||||
time_t ll_time;
|
||||
|
|
@ -22,6 +23,8 @@ struct lastlog {
|
|||
#define ut_addr ut_addr_v6[0]
|
||||
#define utmp utmpx
|
||||
#define utmpname(x) (-1)
|
||||
#define e_exit __e_exit
|
||||
#define e_termination __e_termination
|
||||
|
||||
void endutent(void);
|
||||
struct utmp *getutent(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue