diff options
Diffstat (limited to 'include/mingw.h')
-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 4aca7e884..3ab49a920 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -405,7 +405,7 @@ int kill(pid_t pid, int sig); | |||
405 | int link(const char *oldpath, const char *newpath); | 405 | int link(const char *oldpath, const char *newpath); |
406 | NOIMPL(mknod,const char *name UNUSED_PARAM, mode_t mode UNUSED_PARAM, dev_t device UNUSED_PARAM); | 406 | NOIMPL(mknod,const char *name UNUSED_PARAM, mode_t mode UNUSED_PARAM, dev_t device UNUSED_PARAM); |
407 | /* order of devices must match that in get_dev_type */ | 407 | /* order of devices must match that in get_dev_type */ |
408 | enum {DEV_NULL, DEV_ZERO, DEV_URANDOM, NOT_DEVICE}; | 408 | enum {DEV_NULL, DEV_ZERO, DEV_URANDOM, NOT_DEVICE = -1}; |
409 | int get_dev_type(const char *filename); | 409 | int get_dev_type(const char *filename); |
410 | void update_dev_fd(int dev, int fd); | 410 | void update_dev_fd(int dev, int fd); |
411 | int mingw_open (const char *filename, int oflags, ...); | 411 | int mingw_open (const char *filename, int oflags, ...); |