aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/utmps/utmpx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/utmps/utmpx.h')
-rw-r--r--src/include/utmps/utmpx.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/utmps/utmpx.h b/src/include/utmps/utmpx.h
index 8fa6dd2..fdc1dbc 100644
--- a/src/include/utmps/utmpx.h
+++ b/src/include/utmps/utmpx.h
@@ -79,6 +79,12 @@ extern void logwtmp (char const *, char const *, char const *) ;
# define ut_time ut_tv.tv_sec
#endif
+#ifdef _DEFAULT_SOURCE
+extern int utmps_getutxent_r (struct utmpx *, struct utmpx **) ;
+extern int utmps_getutxid_r (struct utmpx const *, struct utmpx *, struct utmpx **) ;
+extern int utmps_getutxent_r (struct utmpx const *, struct utmpx *, struct utmpx **) ;
+#endif
+
#ifdef __cplusplus
}
#endif