diff options
Diffstat (limited to 'extensions/source/macosx')
-rw-r--r-- | extensions/source/macosx/spotlight/GetMetadataForFile.m | 3 | ||||
-rw-r--r-- | extensions/source/macosx/spotlight/main.m | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/extensions/source/macosx/spotlight/GetMetadataForFile.m b/extensions/source/macosx/spotlight/GetMetadataForFile.m index f93449a4472e..0702ef035151 100644 --- a/extensions/source/macosx/spotlight/GetMetadataForFile.m +++ b/extensions/source/macosx/spotlight/GetMetadataForFile.m @@ -48,11 +48,12 @@ typedef int NSColorRenderingIntent; and return it as a dictionary ----------------------------------------------------------------------------- */ -Boolean GetMetadataForFile(void* /*thisInterface*/, +Boolean GetMetadataForFile(void* thisInterface, CFMutableDictionaryRef attributes, CFStringRef contentTypeUTI, CFStringRef pathToFile) { + (void) thisInterface; /* unused */ /* Pull any available metadata from the file at the specified path */ /* Return the attribute keys and attribute values in the dict */ /* Return TRUE if successful, FALSE if there was no data provided */ diff --git a/extensions/source/macosx/spotlight/main.m b/extensions/source/macosx/spotlight/main.m index 2fa2723a9c7f..cf0172c3aeb1 100644 --- a/extensions/source/macosx/spotlight/main.m +++ b/extensions/source/macosx/spotlight/main.m @@ -207,8 +207,9 @@ ULONG MetadataImporterPluginRelease(void *thisInstance) // Implementation of the factory function for this type. // void * -MetadataImporterPluginFactory(CFAllocatorRef /*allocator*/, CFUUIDRef typeID) +MetadataImporterPluginFactory(CFAllocatorRef allocator, CFUUIDRef typeID) { + (void) allocator; /* unused */ MetadataImporterPluginType *result; CFUUIDRef uuid; |