diff options
author | Keith Packard <keithp@keithp.com> | 2011-08-23 13:29:23 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-08-23 13:29:23 -0700 |
commit | 754b9591574c12ddd6e4ab590c6a5f3806b80213 (patch) | |
tree | 196b956c485f5e73adbc0c25fc77e8dfdd481111 | |
parent | fa6df3fa21e8f09e70371e6c6cc7827a533b4fe6 (diff) |
libaltos: fix Mac OS X function signatures
altos_list_start was declared to take a (int time) parameter for some reason.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | altosui/libaltos/libaltos.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/altosui/libaltos/libaltos.c b/altosui/libaltos/libaltos.c index 21e94ca0..d1f445bd 100644 --- a/altosui/libaltos/libaltos.c +++ b/altosui/libaltos/libaltos.c @@ -794,8 +794,8 @@ get_number(io_object_t object, CFStringRef entry, int *result) return 0; } -struct altos_list * -altos_list_start(int time) +PUBLIC struct altos_list * +altos_list_start(void) { struct altos_list *list = calloc (sizeof (struct altos_list), 1); CFMutableDictionaryRef matching_dictionary = IOServiceMatching("IOUSBDevice"); @@ -810,7 +810,7 @@ altos_list_start(int time) return list; } -int +PUBLIC int altos_list_next(struct altos_list *list, struct altos_device *device) { io_object_t object; @@ -837,7 +837,7 @@ altos_list_next(struct altos_list *list, struct altos_device *device) } } -void +PUBLIC void altos_list_finish(struct altos_list *list) { IOObjectRelease (list->iterator); |