projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix invalid free of partial addrinfo list with multiple services
[musl]
/
src
/
legacy
/
utmpx.c
diff --git
a/src/legacy/utmpx.c
b/src/legacy/utmpx.c
index
e2843c9
..
7aa65da
100644
(file)
--- a/
src/legacy/utmpx.c
+++ b/
src/legacy/utmpx.c
@@
-1,7
+1,7
@@
+#define _GNU_SOURCE
#include <utmpx.h>
#include <stddef.h>
#include <errno.h>
-#include "libc.h"
void endutxent(void)
{
@@
-35,7
+35,7
@@
void updwtmpx(const char *f, const struct utmpx *u)
{
}
-int __utmpxname(const char *f)
+
static
int __utmpxname(const char *f)
{
errno = ENOTSUP;
return -1;