aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2022-10-31 13:28:00 +0000
committerRon Yorston <rmy@pobox.com>2022-10-31 13:47:06 +0000
commit721a17bc3fc9938a82a7b89e1cc21bc5e756a35c (patch)
treeaf8a3565476cfce4f1badd5325244ad949366008
parent28af22c256a385db7d65a42ff6de0b8573131236 (diff)
downloadbusybox-w32-721a17bc3fc9938a82a7b89e1cc21bc5e756a35c.tar.gz
busybox-w32-721a17bc3fc9938a82a7b89e1cc21bc5e756a35c.tar.bz2
busybox-w32-721a17bc3fc9938a82a7b89e1cc21bc5e756a35c.zip
win32: remove declaration of vfork(2)
Since vfork(2) is never used in busybox-w32 there's no need to declare it. Doing so provokes clang to issue a warning. (GitHub issue #239)
-rw-r--r--include/mingw.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/mingw.h b/include/mingw.h
index 0357e4521..d274b7e1c 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -485,7 +485,6 @@ long sysconf(int name);
485IMPL(getpagesize,int,4096,void); 485IMPL(getpagesize,int,4096,void);
486NOIMPL(ttyname_r,int fd UNUSED_PARAM, char *buf UNUSED_PARAM, int sz UNUSED_PARAM); 486NOIMPL(ttyname_r,int fd UNUSED_PARAM, char *buf UNUSED_PARAM, int sz UNUSED_PARAM);
487int mingw_unlink(const char *pathname); 487int mingw_unlink(const char *pathname);
488pid_t vfork(void);
489int mingw_access(const char *name, int mode); 488int mingw_access(const char *name, int mode);
490int mingw_rmdir(const char *name); 489int mingw_rmdir(const char *name);
491void mingw_sync(void); 490void mingw_sync(void);