Grumbel / sdl-jstest

Simple SDL joystick test application for the console
GNU General Public License v3.0
57 stars 32 forks source link

Fix -Wmissing-prototypes warnings #18

Closed orbea closed 1 year ago

orbea commented 1 year ago

I commented test_gamecontroller_events() with #if 0 to avoid an unused function warning.

https://github.com/Grumbel/sdl-jstest/blob/e41cb8081789b54244bb589fff08adc916cf7d64/src/sdl2-jstest.c#L455 https://github.com/Grumbel/sdl-jstest/blob/e41cb8081789b54244bb589fff08adc916cf7d64/src/sdl2-jstest.c#L317-L408

It was commented 8 years ago in commit https://github.com/Grumbel/sdl-jstest/commit/44cef34f9cd0bf48982ba1c147eb641a5de6babf, I am unsure if the function should be removed or if there should be a command-line option as the commit message suggests?