filename | src/drivers/osx_iokit.c |
changeset | 759:f16975739abc |
prev | 758:99ae000d4e09 |
next | 799:8aeb9906d7b9 |
author | nkeynes |
date | Mon Jul 21 01:01:39 2008 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Fix batch of -Wall warnings |
file | annotate | diff | log | raw |
1.1 --- a/src/drivers/osx_iokit.c Mon Jul 21 00:37:13 2008 +00001.2 +++ b/src/drivers/osx_iokit.c Mon Jul 21 01:01:39 2008 +00001.3 @@ -20,9 +20,11 @@1.4 */1.6 #include <glib/gmem.h>1.7 +#include <glib/gstrfuncs.h>1.8 #include <sys/param.h>1.9 #include <paths.h>1.10 #include <string.h>1.11 +#include <unistd.h>1.12 #include <stdio.h>1.13 #include <fcntl.h>1.14 #include <CoreFoundation/CFRunLoop.h>1.15 @@ -261,6 +263,7 @@1.16 IOObjectRelease(object);1.17 }1.18 IOObjectRelease(iterator);1.19 + return 0;1.20 }1.23 @@ -341,6 +344,7 @@1.24 ERROR( "IOServiceAddMatchingNotification failed" );1.25 }1.26 osx_hid_inserted(NULL, iokit_iterators[2]);1.27 + return TRUE;1.28 }1.30 void osx_unregister_iokit_notifications()
.