[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: [PATCH] add conditional external declaration of function
From: "Robert P. J. Day" <rpjday () mindspring ! com>
Date: 2006-03-29 20:31:00
Message-ID: Pine.LNX.4.64.0603291529380.26911 () localhost ! localdomain
[Download RAW message or body]
(even in the header file, make it clear that the routine depends on
__uClinux__.)
diff -pru busybox.orig/include/libbb.h busybox/include/libbb.h
--- busybox.orig/include/libbb.h 2006-03-29 07:43:45.000000000 -0500
+++ busybox/include/libbb.h 2006-03-29 15:29:06.000000000 -0500
@@ -461,8 +461,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 *));
Signed off by: Robert P. J. Day <rpjday@mindspring.com>
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic