Cygwin: move chmod_device declaration to winsup.h
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
f7d01f111d
commit
b2cb7c090e
|
@ -1754,7 +1754,6 @@ fhandler_base::closedir (DIR *)
|
|||
int
|
||||
fhandler_base::fchmod (mode_t mode)
|
||||
{
|
||||
extern int chmod_device (path_conv& pc, mode_t mode);
|
||||
if (pc.is_fs_special ())
|
||||
return chmod_device (pc, mode);
|
||||
/* By default, just succeeds. */
|
||||
|
|
|
@ -698,7 +698,6 @@ out:
|
|||
int __reg1
|
||||
fhandler_disk_file::fchmod (mode_t mode)
|
||||
{
|
||||
extern int chmod_device (path_conv& pc, mode_t mode);
|
||||
int ret = -1;
|
||||
int oret = 0;
|
||||
NTSTATUS status;
|
||||
|
|
|
@ -178,6 +178,7 @@ extern struct per_process_cxx_malloc default_cygwin_cxx_malloc;
|
|||
/* various events */
|
||||
void events_init ();
|
||||
|
||||
int chmod_device (class path_conv& pc, mode_t mode);
|
||||
void __stdcall close_all_files (bool = false);
|
||||
|
||||
/* debug_on_trap support. see exceptions.cc:try_to_debug() */
|
||||
|
|
Loading…
Reference in New Issue