ソースを参照

vulkan: Possibly fix a compiler warning (-Wstrict-prototypes).

Ryan C. Gordon 7 年 前
コミット
ac309df7b4
1 ファイル変更2 行追加2 行削除
  1. 2 2
      src/video/SDL_vulkan_internal.h

+ 2 - 2
src/video/SDL_vulkan_internal.h

@@ -81,8 +81,8 @@ extern SDL_bool SDL_Vulkan_GetInstanceExtensions_Helper(unsigned *userCount,
 /* No SDL Vulkan support, just include the header for typedefs */
 /* No SDL Vulkan support, just include the header for typedefs */
 #include "SDL_vulkan.h"
 #include "SDL_vulkan.h"
 
 
-typedef void (*PFN_vkGetInstanceProcAddr) ();
-typedef int  (*PFN_vkEnumerateInstanceExtensionProperties) ();
+typedef void (*PFN_vkGetInstanceProcAddr) (void);
+typedef int  (*PFN_vkEnumerateInstanceExtensionProperties) (void);
 
 
 #endif /* SDL_VIDEO_VULKAN */
 #endif /* SDL_VIDEO_VULKAN */