summaryrefslogtreecommitdiffstats
path: root/libusbmuxd
diff options
context:
space:
mode:
Diffstat (limited to 'libusbmuxd')
-rw-r--r--libusbmuxd/libusbmuxd.c2
-rw-r--r--libusbmuxd/usbmuxd.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libusbmuxd/libusbmuxd.c b/libusbmuxd/libusbmuxd.c
index 2fbe139..8be5c4a 100644
--- a/libusbmuxd/libusbmuxd.c
+++ b/libusbmuxd/libusbmuxd.c
@@ -88,7 +88,7 @@ static int usbmuxd_get_result(int sfd, uint32_t tag, uint32_t * result)
88 * A reference to a populated usbmuxd_event_t with information about the event 88 * A reference to a populated usbmuxd_event_t with information about the event
89 * and the corresponding device will be passed to the callback function. 89 * and the corresponding device will be passed to the callback function.
90 */ 90 */
91static void generate_event(usbmuxd_event_cb_t callback, const usbmuxd_device_info_t *dev, enum usbmuxd_device_event event, void *user_data) 91static void generate_event(usbmuxd_event_cb_t callback, const usbmuxd_device_info_t *dev, enum usbmuxd_event_type event, void *user_data)
92{ 92{
93 usbmuxd_event_t ev; 93 usbmuxd_event_t ev;
94 94
diff --git a/libusbmuxd/usbmuxd.h b/libusbmuxd/usbmuxd.h
index 2905381..a4e7e4a 100644
--- a/libusbmuxd/usbmuxd.h
+++ b/libusbmuxd/usbmuxd.h
@@ -17,7 +17,7 @@ typedef struct {
17/** 17/**
18 * event types for event callback function 18 * event types for event callback function
19 */ 19 */
20enum usbmuxd_device_event { 20enum usbmuxd_event_type {
21 UE_DEVICE_ADD = 1, 21 UE_DEVICE_ADD = 1,
22 UE_DEVICE_REMOVE 22 UE_DEVICE_REMOVE
23}; 23};