SDL/include
Sam Lantinga b4e069e7f8 Fixed bug 3517 - Compiler warnings with gcc -Wstrict-prototypes
felix

Compiling even a simple SDL2 'hello world' program with gcc -Wstrict-prototypes (GCC 6.2.1) results in warnings like:

/usr/include/SDL2/SDL_gamecontroller.h:143:1: attention : function declaration isn't a prototype [-Wstrict-prototypes]
 extern DECLSPEC int SDLCALL SDL_GameControllerNumMappings();
 ^~~~~~

It seems there is a missing 'void' between the parentheses.
2016-12-26 02:12:21 -08:00
..
SDL.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_assert.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_atomic.h Fixed bug 3517 - Compiler warnings with gcc -Wstrict-prototypes 2016-12-26 02:12:21 -08:00
SDL_audio.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_bits.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_blendmode.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_clipboard.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_config.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_config.h.cmake Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_config.h.in Avoid conflicts with multiple versions of udev by first trying the library that is linked with the executable, if any, and then picking the one that is in the build environment. 2016-11-29 05:34:20 -08:00
SDL_config_android.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_config_iphoneos.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_config_macosx.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_config_minimal.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_config_pandora.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_config_psp.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_config_windows.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_config_winrt.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_config_wiz.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_copying.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_cpuinfo.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_egl.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_endian.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_error.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_events.h Updated documentation in header file. 2016-11-30 23:31:36 +01:00
SDL_filesystem.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_gamecontroller.h Fixed bug 3517 - Compiler warnings with gcc -Wstrict-prototypes 2016-12-26 02:12:21 -08:00
SDL_gesture.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_haptic.h Corrected header file guard comments. 2016-12-23 20:36:12 +01:00
SDL_hints.h Corrected header file guard comments. 2016-12-23 20:36:12 +01:00
SDL_joystick.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_keyboard.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_keycode.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_loadso.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_log.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_main.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_messagebox.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_mouse.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_mutex.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_name.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_opengl.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_opengl_glext.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_opengles.h Fixed including OpenGL ES on iOS without any other SDL headers 2016-09-14 08:20:24 -07:00
SDL_opengles2.h Fixed including OpenGL ES on iOS without any other SDL headers 2016-09-14 08:20:24 -07:00
SDL_opengles2_gl2.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_opengles2_gl2ext.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_opengles2_gl2platform.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_opengles2_khrplatform.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_pixels.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_platform.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_power.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_quit.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_rect.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_render.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_revision.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_rwops.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_scancode.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_shape.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_stdinc.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_surface.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_system.h Fixed missing prototypes on Android, patch from Sylvain 2016-12-02 02:25:12 -08:00
SDL_syswm.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_test.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_test_assert.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_test_common.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_test_compare.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_test_crc32.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_test_font.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_test_fuzzer.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_test_harness.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_test_images.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_test_log.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_test_md5.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_test_random.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_thread.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_timer.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_touch.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_types.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_version.h Renaming of guard header names to quiet -Wreserved-id-macro 2016-11-20 21:34:54 -08:00
SDL_video.h Fixed ABI, don't change the return type of SDL_GL_SwapWindow() 2016-12-11 12:01:44 -08:00
begin_code.h Fixed bug 1646 - Warnings from clang with -Weverything 2016-11-15 01:30:08 -08:00
close_code.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00