aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/forkable.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2023-09-08 22:34:52 +0200
committerCorinna Vinschen <corinna@vinschen.de>2023-09-08 22:34:52 +0200
commit53472e1803808d5fb91029f4c26c86989c62c82c (patch)
treef479b903a99ba079f989279e542632b2a813847a /winsup/cygwin/forkable.cc
parent7ced682549ae718db29121013c84ce8057bc3509 (diff)
downloadnewlib-53472e1803808d5fb91029f4c26c86989c62c82c.zip
newlib-53472e1803808d5fb91029f4c26c86989c62c82c.tar.gz
newlib-53472e1803808d5fb91029f4c26c86989c62c82c.tar.bz2
Cygwin: unlink_nt: declare in winsup.h
unlink_nt is used more than once so declare it in a header. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/forkable.cc')
-rw-r--r--winsup/cygwin/forkable.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/winsup/cygwin/forkable.cc b/winsup/cygwin/forkable.cc
index c69c8be..cd317a1 100644
--- a/winsup/cygwin/forkable.cc
+++ b/winsup/cygwin/forkable.cc
@@ -27,10 +27,6 @@ details. */
#include <assert.h>
#include <tls_pbuf.h>
-/* Allow concurrent processes to use the same dll or exe
- * via their hardlink while we delete our hardlink. */
-extern NTSTATUS unlink_nt (path_conv &pc, bool sharable);
-
#define MUTEXSEP L"@"
#define PATHSEP L"\\"