summaryrefslogtreecommitdiffstats
path: root/src/ideviceinstaller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ideviceinstaller.c')
-rw-r--r--src/ideviceinstaller.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c
index 808a1e9..ab62809 100644
--- a/src/ideviceinstaller.c
+++ b/src/ideviceinstaller.c
@@ -63,7 +63,7 @@ int err_occured = 0;
int notified = 0;
-static void notifier(const char *notification)
+static void notifier(const char *notification, void *unused)
{
/* printf("notification received: %s\n", notification);*/
notified = 1;
@@ -348,7 +348,7 @@ int main(int argc, char **argv)
goto leave_cleanup;
}
- np_set_notify_callback(np, notifier);
+ np_set_notify_callback(np, notifier, NULL);
const char *noties[3] = { NP_APP_INSTALLED, NP_APP_UNINSTALLED, NULL };