commit | ccade505879333267c8d6d38cb9c0535596f4648 | [log] [tgz] |
---|---|---|
author | Amir <amkad87@gmail.com> | Wed Jul 17 21:32:03 2024 +0400 |
committer | Sam Lantinga <slouken@libsdl.org> | Wed Jul 17 10:51:30 2024 -0700 |
tree | 81cfd08ed7a8d388e2b1b239901a1c00574a1840 | |
parent | 3f9591babe0bbb874927e8be8eb29fba79b38496 [diff] |
Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" https://stackoverflow.com/questions/42125/warning-error-function-declaration-isnt-a-prototype In C int foo() and int foo(void) are different functions. int foo() accepts an arbitrary number of arguments, while int foo(void) accepts 0 arguments. In C++ they mean the same thing.
Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games.
More extensive documentation is available in the docs directory, starting with README.md
Enjoy!
Sam Lantinga (slouken@libsdl.org)