From e2a39e2efa3337b9c6abbba4c7eb914c5ee9d3d9 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 3 Dec 2003 09:55:42 +0000 Subject: * 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. --- winsup/cygwin/fcntl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/fcntl.cc') 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; -- cgit v1.2.3