diff options
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/fhandler/disk_file.cc | 2 | ||||
-rw-r--r-- | winsup/cygwin/forkable.cc | 4 | ||||
-rw-r--r-- | winsup/cygwin/local_includes/winsup.h | 2 |
3 files changed, 2 insertions, 6 deletions
diff --git a/winsup/cygwin/fhandler/disk_file.cc b/winsup/cygwin/fhandler/disk_file.cc index 94f7ef566..d59cde78b 100644 --- a/winsup/cygwin/fhandler/disk_file.cc +++ b/winsup/cygwin/fhandler/disk_file.cc @@ -1842,8 +1842,6 @@ fhandler_disk_file::mkdir (mode_t mode) int fhandler_disk_file::rmdir () { - extern NTSTATUS unlink_nt (path_conv &pc, bool sharable); - if (!pc.isdir ()) { set_errno (ENOTDIR); diff --git a/winsup/cygwin/forkable.cc b/winsup/cygwin/forkable.cc index c69c8bea9..cd317a1ae 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"\\" diff --git a/winsup/cygwin/local_includes/winsup.h b/winsup/cygwin/local_includes/winsup.h index c9788de8f..bf0a0bcc3 100644 --- a/winsup/cygwin/local_includes/winsup.h +++ b/winsup/cygwin/local_includes/winsup.h @@ -225,6 +225,8 @@ class path_conv; int stat_worker (path_conv &pc, struct stat *buf); +NTSTATUS unlink_nt (path_conv &pc, bool sharable); + ino_t readdir_get_ino (const char *path, bool dot_dot); /* mmap functions. */ |