Search
lxdream.org :: lxdream/src/drivers/io_osx.m :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/io_osx.m
changeset 1298:d0eb2307b847
prev1077:136fc24d17ef
author nkeynes
date Wed Feb 04 08:38:23 2015 +1000 (5 years ago)
permissions -rw-r--r--
last change Fix assorted compile warnings reported by Clang
file annotate diff log raw
1.1 --- a/src/drivers/io_osx.m Wed Oct 07 17:53:56 2009 +1000
1.2 +++ b/src/drivers/io_osx.m Wed Feb 04 08:38:23 2015 +1000
1.3 @@ -30,8 +30,6 @@
1.4 struct io_osx_cbinfo *next;
1.5 };
1.6
1.7 -static struct io_osx_cbinfo *cbinfo_list = NULL;
1.8 -
1.9 void io_unregister_callback( struct io_osx_cbinfo *cbinfo )
1.10 {
1.11 CFRunLoopRemoveSource( CFRunLoopGetCurrent(), cbinfo->sourceRef, kCFRunLoopCommonModes );
1.12 @@ -114,7 +112,7 @@
1.13 fdContext.version = 0;
1.14 fdContext.retain = NULL;
1.15 fdContext.info = cbinfo;
1.16 - fdContext.release = io_osx_release;
1.17 + fdContext.release = ( void (*)(void *) )io_osx_release;
1.18 fdContext.copyDescription = NULL;
1.19
1.20 CFFileDescriptorRef ref = CFFileDescriptorCreate( kCFAllocatorDefault, fd, FALSE,
.