diff options
author | Sven Weidauer <sven.weidauer@gmail.com> | 2011-01-25 17:16:20 +0000 |
---|---|---|
committer | Sven Weidauer <sven.weidauer@gmail.com> | 2011-01-25 17:16:20 +0000 |
commit | 620fd90fa7739e0a5bc23bca77033da747046c7e (patch) | |
tree | 85556b352f0ad3390cdcad1f03cc93fd5c8c6c93 /cocoa/gui.m | |
parent | 67c9970e544f987fc275c7a5eac67a9123e94868 (diff) | |
download | netsurf-620fd90fa7739e0a5bc23bca77033da747046c7e.tar.gz netsurf-620fd90fa7739e0a5bc23bca77033da747046c7e.tar.bz2 |
General cleanup and warning fixes
svn path=/trunk/netsurf/; revision=11486
Diffstat (limited to 'cocoa/gui.m')
-rw-r--r-- | cocoa/gui.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cocoa/gui.m b/cocoa/gui.m index 83c0cbd65..296d73d31 100644 --- a/cocoa/gui.m +++ b/cocoa/gui.m @@ -345,7 +345,7 @@ static char *gui_get_resource_url( NSString *name, NSString *type ) return strdup( [[[NSURL fileURLWithPath: path] absoluteString] UTF8String] ); } -static NSString *cocoa_get_preferences_path() +static NSString *cocoa_get_preferences_path( void ) { NSArray *paths = NSSearchPathForDirectoriesInDomains( NSApplicationSupportDirectory, NSUserDomainMask, YES ); NSCAssert( [paths count] >= 1, @"Where is the application support directory?" ); @@ -367,7 +367,7 @@ static NSString *cocoa_get_preferences_path() return netsurfPath; } -static const char *cocoa_get_options_file() +static const char *cocoa_get_options_file( void ) { NSString *prefPath = [cocoa_get_preferences_path() stringByAppendingPathComponent: @"options"]; return [prefPath UTF8String]; |