summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/winsup.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-12-03 09:55:42 +0000
committerCorinna Vinschen <corinna@vinschen.de>2003-12-03 09:55:42 +0000
commite2a39e2efa3337b9c6abbba4c7eb914c5ee9d3d9 (patch)
tree257296c3c3c822ce933879a5fd8e021c306bb7fe /winsup/cygwin/winsup.h
parent941c9bf805b0abfc911ed79a3ef712245996bf8e (diff)
downloadcygnal-e2a39e2efa3337b9c6abbba4c7eb914c5ee9d3d9.tar.gz
cygnal-e2a39e2efa3337b9c6abbba4c7eb914c5ee9d3d9.tar.bz2
cygnal-e2a39e2efa3337b9c6abbba4c7eb914c5ee9d3d9.zip
* 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.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r--winsup/cygwin/winsup.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h
index 937b46061..26be3d0c3 100644
--- a/winsup/cygwin/winsup.h
+++ b/winsup/cygwin/winsup.h
@@ -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