Cygwin: move chmod_device declaration to winsup.h

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen
2020-01-28 15:33:05 +01:00
parent e38f2dc9b9
commit 464db253c4
3 changed files with 1 additions and 2 deletions

View File

@ -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. */