summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/utmp.h1
-rw-r--r--libc/misc/utmp/utent.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/utmp.h b/include/utmp.h
index e80b65b7d..10b75c9a0 100644
--- a/include/utmp.h
+++ b/include/utmp.h
@@ -78,6 +78,7 @@ libc_hidden_proto(endutent)
/* Search forward from the current point in the utmp file until the
next entry with a ut_type matching ID->ut_type. */
extern struct utmp *getutid (__const struct utmp *__id) __THROW;
+libc_hidden_proto(getutid)
/* Search forward from the current point in the utmp file until the
next entry with a ut_line matching LINE->ut_line. */
diff --git a/libc/misc/utmp/utent.c b/libc/misc/utmp/utent.c
index 11d615437..f97cad3c8 100644
--- a/libc/misc/utmp/utent.c
+++ b/libc/misc/utmp/utent.c
@@ -146,6 +146,7 @@ struct utmp *getutid(const struct utmp *utmp_entry)
return ret;
}
#endif
+libc_hidden_def(getutid)
struct utmp *getutline(const struct utmp *utmp_entry)
{