projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix arm __tlsdesc_dynamic when built as thumb code without __ARM_ARCH>=5
[musl]
/
include
/
utmpx.h
diff --git
a/include/utmpx.h
b/include/utmpx.h
index
f0c3b01
..
0429014
100644
(file)
--- a/
include/utmpx.h
+++ b/
include/utmpx.h
@@
-14,8
+14,7
@@
extern "C" {
#include <bits/alltypes.h>
#include <bits/alltypes.h>
-struct utmpx
-{
+struct utmpx {
short ut_type;
pid_t ut_pid;
char ut_line[32];
short ut_type;
pid_t ut_pid;
char ut_line[32];
@@
-39,10
+38,11
@@
struct utmpx *getutxline(const struct utmpx *);
struct utmpx *pututxline(const struct utmpx *);
void setutxent(void);
struct utmpx *pututxline(const struct utmpx *);
void setutxent(void);
-#if defined(_BSD_SOURCE) | defined(_GNU_SOURCE)
+#if defined(_BSD_SOURCE) |
|
defined(_GNU_SOURCE)
#define e_exit __e_exit
#define e_termination __e_termination
void updwtmpx(const char *, const struct utmpx *);
#define e_exit __e_exit
#define e_termination __e_termination
void updwtmpx(const char *, const struct utmpx *);
+int utmpxname(const char *);
#endif
#define EMPTY 0
#endif
#define EMPTY 0