From 660e6a384d8c7b32a8486a0aeb31f75939a99b75 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 22 Oct 2020 19:48:15 -0500 Subject: Add nommu-able xvdaemon() and use it to remove some TOYBOX_FORK dependencies --- lib/lib.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/lib.h') diff --git a/lib/lib.h b/lib/lib.h index 6851c4aa..192fb7d2 100644 --- a/lib/lib.h +++ b/lib/lib.h @@ -127,12 +127,13 @@ char *xstrndup(char *s, size_t n); char *xstrdup(char *s); void *xmemdup(void *s, long len); char *xmprintf(char *format, ...) printf_format; +void xflush(int flush); void xprintf(char *format, ...) printf_format; void xputsl(char *s, int len); void xputsn(char *s); void xputs(char *s); void xputc(char c); -void xflush(int flush); +void xvdaemon(void); void xexec(char **argv); pid_t xpopen_setup(char **argv, int *pipes, void (*callback)(char **argv)); pid_t xpopen_both(char **argv, int *pipes); -- cgit v1.2.3