From cdd0e9946a45dd69dc0bc8a8d0bcb734c7234937 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Mon, 7 Jun 2021 09:01:57 +0100 Subject: win32: rename update_dev_fd() as update_special_fd() Avoid confusion between special devices and /dev/fd. --- include/mingw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/mingw.h b/include/mingw.h index 89b26762a..367aa7cdc 100644 --- a/include/mingw.h +++ b/include/mingw.h @@ -453,7 +453,7 @@ NOIMPL(mknod,const char *name UNUSED_PARAM, mode_t mode UNUSED_PARAM, dev_t devi /* order of devices must match that in get_dev_type */ enum {DEV_NULL, DEV_ZERO, DEV_URANDOM, NOT_DEVICE = -1}; int get_dev_type(const char *filename); -void update_dev_fd(int dev, int fd); +void update_special_fd(int dev, int fd); int mingw_open (const char *filename, int oflags, ...); /* functions which add O_SPECIAL to open(2) to allow access to devices */ -- cgit v1.2.3-55-g6feb