Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-12-03 12:55:42 +0300
committerCorinna Vinschen <corinna@vinschen.de>2003-12-03 12:55:42 +0300
commite2a39e2efa3337b9c6abbba4c7eb914c5ee9d3d9 (patch)
tree257296c3c3c822ce933879a5fd8e021c306bb7fe /winsup/cygwin/fcntl.cc
parent941c9bf805b0abfc911ed79a3ef712245996bf8e (diff)
* 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/fcntl.cc')
-rw-r--r--winsup/cygwin/fcntl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fcntl.cc b/winsup/cygwin/fcntl.cc
index a492bf93d..d81126f52 100644
--- a/winsup/cygwin/fcntl.cc
+++ b/winsup/cygwin/fcntl.cc
@@ -19,7 +19,7 @@ details. */
#include "cygheap.h"
#include "thread.h"
-static int
+int
fcntl_worker (int fd, int cmd, void *arg)
{
int res;