From f1228d6594f59b240fd41477f55289930d469cac Mon Sep 17 00:00:00 2001 From: Jonathan Rahn Date: Mon, 6 Jan 2014 13:59:26 +0100 Subject: Silence compiler warning "No previous prototype for function..." and added an explicit typecast, update README with a hint to the view's height --- MASShortcut+Monitoring.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'MASShortcut+Monitoring.m') diff --git a/MASShortcut+Monitoring.m b/MASShortcut+Monitoring.m index bd0282b..b6750b4 100644 --- a/MASShortcut+Monitoring.m +++ b/MASShortcut+Monitoring.m @@ -1,9 +1,9 @@ #import "MASShortcut+Monitoring.h" -NSMutableDictionary *MASRegisteredHotKeys(); -BOOL InstallCommonEventHandler(); +NSMutableDictionary *MASRegisteredHotKeys(void); +BOOL InstallCommonEventHandler(void); BOOL InstallHotkeyWithShortcut(MASShortcut *shortcut, UInt32 *outCarbonHotKeyID, EventHotKeyRef *outCarbonHotKey); -void UninstallEventHandler(); +void UninstallEventHandler(void); #pragma mark - -- cgit v1.2.3