Browse Source

Fixed warning on iOS

Sam Lantinga 13 năm trước cách đây
mục cha
commit
724b71a657
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/platform_macosx.c

+ 1 - 1
src/platform_macosx.c

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