瀏覽代碼

Fixed warning on iOS

Sam Lantinga 14 年之前
父節點
當前提交
724b71a657
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/platform_macosx.c

+ 1 - 1
src/platform_macosx.c

@@ -32,7 +32,7 @@
 /* Wrap PHYSFS_Allocator in a CFAllocator... */
 /* Wrap PHYSFS_Allocator in a CFAllocator... */
 static CFAllocatorRef cfallocator = NULL;
 static CFAllocatorRef cfallocator = NULL;
 
 
-CFStringRef cfallocDesc(const void *info)
+static CFStringRef cfallocDesc(const void *info)
 {
 {
     return CFStringCreateWithCString(cfallocator, "PhysicsFS",
     return CFStringCreateWithCString(cfallocator, "PhysicsFS",
                                      kCFStringEncodingASCII);
                                      kCFStringEncodingASCII);