aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h
index ea61701b7..f3121eb47 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -797,9 +797,11 @@ void die_if_bad_username(const char* name) FAST_FUNC;
797#endif 797#endif
798 798
799#if ENABLE_FEATURE_UTMP 799#if ENABLE_FEATURE_UTMP
800void FAST_FUNC update_utmp(int new_type, const char *short_tty, const char *username, const char *opt_host); 800void FAST_FUNC write_new_utmp(pid_t pid, int new_type, const char *tty_name, const char *username, const char *hostname);
801void FAST_FUNC update_utmp(pid_t pid, int new_type, const char *tty_name, const char *username, const char *hostname);
801#else 802#else
802# define update_utmp(new_type, short_tty, username, opt_host) ((void)0) 803# define write_new_utmp(pid, new_type, tty_name, username, hostname) ((void)0)
804# define update_utmp(pid, new_type, tty_name, username, hostname) ((void)0)
803#endif 805#endif
804 806
805int execable_file(const char *name) FAST_FUNC; 807int execable_file(const char *name) FAST_FUNC;