Added arg params in main function to fix conflicting types for 'SDL_main' error

This commit is contained in:
Johan Söderlind Åström 2020-02-28 15:24:03 +01:00
parent e4d90b7db3
commit 81e408a805
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@
*
* ===============================================================*/
int
main(void)
main(int argc, char *argv[])
{
/* Platform */
SDL_Window *win;

View File

@ -70,7 +70,7 @@
* DEMO
*
* ===============================================================*/
int main(void)
int main(int argc, char *argv[])
{
/* Platform */
SDL_Window *win;