diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-03-25 23:21:05 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-03-25 23:21:05 +0000 |
commit | cad04ef4f3435e56181a81c896912543be34ea3c (patch) | |
tree | 71e46e02914c97077eaa77e12a726b29240b27f6 /include | |
parent | 10f8f5f4433a88b9cf9048d38a45838aa6e2abf6 (diff) |
add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copy
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h index 152b87099..aba9316d1 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -250,8 +250,10 @@ extern char bb_process_escape_sequence(const char **ptr); /* TODO: sometimes modifies its parameter, which * makes it rather inconvenient at times: */ extern char *bb_get_last_path_component(char *path); -extern int ndelay_on(int fd); -extern int ndelay_off(int fd); + +int ndelay_on(int fd); +int ndelay_off(int fd); +void xmove_fd(int, int); extern DIR *xopendir(const char *path); @@ -616,6 +618,8 @@ extern int index_in_substr_array(const char * const string_array[], const char * extern void print_login_issue(const char *issue_file, const char *tty); extern void print_login_prompt(void); #ifdef BB_NOMMU +extern pid_t BUG_fork_is_unavailable_on_nommu(void); +#define fork() BUG_fork_is_unavailable_on_nommu() extern void vfork_daemon_rexec(int nochdir, int noclose, char **argv); extern smallint re_execed; #endif |