Skip to content

Commit

Permalink
Fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmurray committed Sep 18, 2014
1 parent d428b01 commit 5600bb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.c
Expand Up @@ -30,7 +30,7 @@ static bool timerMode = false;

static void pretty_print_network(WiFiNetworkRef network);
static inline void verbose_log(char *format, ...);
static void scan_callback(WiFiDeviceClientRef device, CFArrayRef results, CFErrorRef error, void *unknown);
static void scan_callback(WiFiDeviceClientRef device, CFArrayRef results, int error, const void *object);
static void begin_scan();
static void setup_for_scan();
static void print_usage(char *progname);
Expand Down Expand Up @@ -85,7 +85,7 @@ static void pretty_print_network(WiFiNetworkRef network)
CFRelease(format);
}

static void scan_callback(WiFiDeviceClientRef device, CFArrayRef results, CFErrorRef error, void *unknown)
static void scan_callback(WiFiDeviceClientRef device, CFArrayRef results, int error, const void *object)
{
if (results) {
CFIndex count = CFArrayGetCount(results);
Expand Down

0 comments on commit 5600bb6

Please sign in to comment.