From f785255a44c9cb751eb33dc8c7b52b210be8097b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 11 Apr 2006 04:04:40 +0000 Subject: [PATCH] Robert P. J. Day writes: even in the header file, make it clear that the routine depends on __uClinux__ --- include/libbb.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/libbb.h b/include/libbb.h index edbc58206..acda7f615 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -479,8 +479,11 @@ extern void llist_free(llist_t *elm); extern void print_login_issue(const char *issue_file, const char *tty); extern void print_login_prompt(void); +#if defined(__uClinux__) extern void vfork_daemon_rexec(int nochdir, int noclose, int argc, char **argv, char *foreground_opt); +#endif + extern int get_terminal_width_height(int fd, int *width, int *height); extern unsigned long get_ug_id(const char *s, long (*__bb_getxxnam)(const char *));