[newlib-cygwin] Cygwin: timerfd_create: add missing type

Corinna Vinschen corinna@sourceware.org
Wed Jan 16 08:32:00 GMT 2019


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=5b147c76d24f990c9fb7ab9617defe12c62dc2b2

commit 5b147c76d24f990c9fb7ab9617defe12c62dc2b2
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Wed Jan 16 09:24:55 2019 +0100

    Cygwin: timerfd_create: add missing type
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/timer.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/cygwin/timer.cc b/winsup/cygwin/timer.cc
index 93e4714..657407f 100644
--- a/winsup/cygwin/timer.cc
+++ b/winsup/cygwin/timer.cc
@@ -692,7 +692,7 @@ ualarm (useconds_t value, useconds_t interval)
  return ret;
 }
 
-extern "C"
+extern "C" int
 timerfd_create (clockid_t clock_id, int flags)
 {
   int ret = -1;



More information about the Cygwin-cvs mailing list