summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-06-06 23:18:57 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-06-06 23:18:57 +0000
commit8b74abbcc40d257904b6f04778a88c08a04baeb9 (patch)
tree8a2d2a77aa7870d909917cafb67de6b03f8a7f41
parent27079ceb9a031f63d2285ffb7cf5aff35112d8e2 (diff)
downloadpcsxr-8b74abbcc40d257904b6f04778a88c08a04baeb9.tar.gz
OS X: minor changes.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@90608 e17a0e51-4ae3-4d35-97c3-1a29b211df97
-rw-r--r--macosx/Psx-Memcard/main.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/macosx/Psx-Memcard/main.c b/macosx/Psx-Memcard/main.c
index df328ebb..93dfa030 100644
--- a/macosx/Psx-Memcard/main.c
+++ b/macosx/Psx-Memcard/main.c
@@ -21,18 +21,13 @@
//
// Below is the generic glue code for all plug-ins.
//
-// You should not have to modify this code aside from changing
-// names if you decide to change the names defined in the Info.plist
-//
-
// -----------------------------------------------------------------------------
// typedefs
// -----------------------------------------------------------------------------
// The layout for an instance of MetaDataImporterPlugIn
-typedef struct __MetadataImporterPluginType
-{
+typedef struct __MetadataImporterPluginType {
MDImporterInterfaceStruct *conduitInterface;
CFUUIDRef factoryID;
UInt32 refCount;
@@ -74,9 +69,7 @@ static MDImporterInterfaceStruct testInterfaceFtbl = {
//
MDImporterType *AllocMetadataImporterPluginType(CFUUIDRef inFactoryID)
{
- MDImporterType *theNewInstance;
-
- theNewInstance = (MDImporterType *)calloc(sizeof(MDImporterType), 1);
+ MDImporterType *theNewInstance = (MDImporterType *)calloc(sizeof(MDImporterType), 1);
/* Point to the function table */
theNewInstance->conduitInterface = &testInterfaceFtbl;
@@ -192,4 +185,3 @@ void *MetadataImporterPluginFactory(CFAllocatorRef allocator,CFUUIDRef typeID)
/* If the requested type is incorrect, return NULL. */
return NULL;
}
-