From 5105c5e94b6430b699af975406776a6fc6d69fb0 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 19 Apr 1997 15:19:19 +0000 Subject: [PATCH] Add prototype for updwtmp. --- login/utmp.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/login/utmp.h b/login/utmp.h index 402ab25cb61..fa35cd4f4f4 100644 --- a/login/utmp.h +++ b/login/utmp.h @@ -48,6 +48,10 @@ extern void login __P ((__const struct utmp *__entry)); /* Write the utmp entry to say the user on UT_LINE has logged out. */ extern int logout __P ((__const char *__ut_line)); +/* Append the given entry to a wtmp file. */ +extern void updwtmp __P ((__const char *__wtmp_file, + __const struct utmp *__entry)); + /* Append to wtmp an entry for the current time and the given info. */ extern void logwtmp __P ((__const char *__ut_line, __const char *__ut_name, __const char *__ut_host)); -- 2.47.2