diff options
author | Ron Yorston <rmy@pobox.com> | 2021-06-07 09:01:57 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2021-06-07 11:30:37 +0100 |
commit | cdd0e9946a45dd69dc0bc8a8d0bcb734c7234937 (patch) | |
tree | 298423a59df4c51461e708008ca15461fb9a403a /include | |
parent | aef29667bf794761a76d7c744e1e434f744e0b9b (diff) | |
download | busybox-w32-cdd0e9946a45dd69dc0bc8a8d0bcb734c7234937.tar.gz busybox-w32-cdd0e9946a45dd69dc0bc8a8d0bcb734c7234937.tar.bz2 busybox-w32-cdd0e9946a45dd69dc0bc8a8d0bcb734c7234937.zip |
win32: rename update_dev_fd() as update_special_fd()
Avoid confusion between special devices and /dev/fd.
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
453 | /* order of devices must match that in get_dev_type */ | 453 | /* order of devices must match that in get_dev_type */ |
454 | enum {DEV_NULL, DEV_ZERO, DEV_URANDOM, NOT_DEVICE = -1}; | 454 | enum {DEV_NULL, DEV_ZERO, DEV_URANDOM, NOT_DEVICE = -1}; |
455 | int get_dev_type(const char *filename); | 455 | int get_dev_type(const char *filename); |
456 | void update_dev_fd(int dev, int fd); | 456 | void update_special_fd(int dev, int fd); |
457 | int mingw_open (const char *filename, int oflags, ...); | 457 | int mingw_open (const char *filename, int oflags, ...); |
458 | 458 | ||
459 | /* functions which add O_SPECIAL to open(2) to allow access to devices */ | 459 | /* functions which add O_SPECIAL to open(2) to allow access to devices */ |