diff options
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/libbb.h b/include/libbb.h index de00abe7f..7959884e3 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1347,11 +1347,6 @@ extern void selinux_preserve_fcontext(int fdesc) FAST_FUNC; | |||
1347 | extern void selinux_or_die(void) FAST_FUNC; | 1347 | extern void selinux_or_die(void) FAST_FUNC; |
1348 | 1348 | ||
1349 | 1349 | ||
1350 | /* systemd support */ | ||
1351 | #define SD_LISTEN_FDS_START 3 | ||
1352 | int sd_listen_fds(void); | ||
1353 | |||
1354 | |||
1355 | /* setup_environment: | 1350 | /* setup_environment: |
1356 | * if chdir pw->pw_dir: ok: else if to_tmp == 1: goto /tmp else: goto / or die | 1351 | * if chdir pw->pw_dir: ok: else if to_tmp == 1: goto /tmp else: goto / or die |
1357 | * if clear_env = 1: cd(pw->pw_dir), clear environment, then set | 1352 | * if clear_env = 1: cd(pw->pw_dir), clear environment, then set |
@@ -1418,6 +1413,7 @@ extern void print_login_prompt(void) FAST_FUNC; | |||
1418 | char *xmalloc_ttyname(int fd) FAST_FUNC RETURNS_MALLOC; | 1413 | char *xmalloc_ttyname(int fd) FAST_FUNC RETURNS_MALLOC; |
1419 | /* NB: typically you want to pass fd 0, not 1. Think 'applet | grep something' */ | 1414 | /* NB: typically you want to pass fd 0, not 1. Think 'applet | grep something' */ |
1420 | int get_terminal_width_height(int fd, unsigned *width, unsigned *height) FAST_FUNC; | 1415 | int get_terminal_width_height(int fd, unsigned *width, unsigned *height) FAST_FUNC; |
1416 | int get_terminal_width(int fd) FAST_FUNC; | ||
1421 | 1417 | ||
1422 | int tcsetattr_stdin_TCSANOW(const struct termios *tp) FAST_FUNC; | 1418 | int tcsetattr_stdin_TCSANOW(const struct termios *tp) FAST_FUNC; |
1423 | 1419 | ||