* fcntl.cc (fcntl_worker): Remove static storage class.

* flock.cc (flock): Use struct __flock64. Call fcntl_worker.
	Use Cygwin errno functions instead of accessing errno directly.
	* winsup.h: Declare fcntl_worker.
This commit is contained in:
Corinna Vinschen
2003-12-03 09:55:42 +00:00
parent 941c9bf805
commit e2a39e2efa
4 changed files with 24 additions and 15 deletions

View File

@ -298,6 +298,8 @@ int symlink_worker (const char *, const char *, bool, bool)
class path_conv;
int access_worker (path_conv&, int) __attribute__ ((regparm (2)));
int fcntl_worker (int fd, int cmd, void *arg);
extern "C" int low_priority_sleep (DWORD) __attribute__ ((regparm (1)));
#define SLEEP_0_STAY_LOW INFINITE