From 8efe967018dd79aacfe3ca1e2583f115d744e466 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 15 Sep 2003 08:33:45 +0000 Subject: Be entirely consistant when using ioctl(0, TIOCGWINSZ, &winsize) to ensure proper fallback behavior on, i.e. serial consoles. -Erik --- include/libbb.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index 4bfcc7a8b..a6ccff421 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -462,9 +462,10 @@ typedef struct llist_s { } llist_t; extern llist_t *llist_add_to(llist_t *old_head, char *new_item); -void print_login_issue(const char *issue_file, const char *tty); -void print_login_prompt(void); +extern void print_login_issue(const char *issue_file, const char *tty); +extern void print_login_prompt(void); -void vfork_daemon_rexec(int argc, char **argv, char *foreground_opt); +extern void vfork_daemon_rexec(int argc, char **argv, char *foreground_opt); +extern void get_terminal_width_height(int fd, int *width, int *height); #endif /* __LIBCONFIG_H__ */ -- cgit v1.2.3