aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 68a7cf002..be792d6b2 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -921,9 +921,11 @@ void die_if_bad_username(const char* name) FAST_FUNC;
921#if ENABLE_FEATURE_UTMP 921#if ENABLE_FEATURE_UTMP
922void FAST_FUNC write_new_utmp(pid_t pid, int new_type, const char *tty_name, const char *username, const char *hostname); 922void FAST_FUNC write_new_utmp(pid_t pid, int new_type, const char *tty_name, const char *username, const char *hostname);
923void FAST_FUNC update_utmp(pid_t pid, int new_type, const char *tty_name, const char *username, const char *hostname); 923void FAST_FUNC update_utmp(pid_t pid, int new_type, const char *tty_name, const char *username, const char *hostname);
924void FAST_FUNC update_utmp_DEAD_PROCESS(pid_t pid);
924#else 925#else
925# define write_new_utmp(pid, new_type, tty_name, username, hostname) ((void)0) 926# define write_new_utmp(pid, new_type, tty_name, username, hostname) ((void)0)
926# define update_utmp(pid, new_type, tty_name, username, hostname) ((void)0) 927# define update_utmp(pid, new_type, tty_name, username, hostname) ((void)0)
928# define update_utmp_DEAD_PROCESS(pid) ((void)0)
927#endif 929#endif
928 930
929 931