diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2019-05-10 21:00:39 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2019-05-10 21:00:39 -0700 |
commit | f3ad27b06fb0cb884bdf340785f44286e1009b58 (patch) | |
tree | 0240a13f6674f13152c298849c67d976eb73036f | |
parent | cc0d7642ca65172768a4a7c365c7f4e77f612b12 (diff) |
examples: fix main() signature
This upset mingw64 on the sdl build because conflict with SDL_Main,
drop the const.
-rw-r--r-- | examples/playit-alsa.c | 2 | ||||
-rw-r--r-- | examples/playit-null.c | 2 | ||||
-rw-r--r-- | examples/playit-sdl2.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/playit-alsa.c b/examples/playit-alsa.c index 563fb72..e4becc4 100644 --- a/examples/playit-alsa.c +++ b/examples/playit-alsa.c @@ -148,7 +148,7 @@ static void alsa_close(snd_pcm_t *pcm) } -int main(int argc, const char *argv[]) +int main(int argc, char *argv[]) { song_t *song; uint8_t buf[8192]; diff --git a/examples/playit-null.c b/examples/playit-null.c index f256e0a..9a80b86 100644 --- a/examples/playit-null.c +++ b/examples/playit-null.c @@ -41,7 +41,7 @@ _fail: } -int main(int argc, const char *argv[]) +int main(int argc, char *argv[]) { song_t *song; uint8_t buf[8192]; diff --git a/examples/playit-sdl2.c b/examples/playit-sdl2.c index d1946ad..86cd55c 100644 --- a/examples/playit-sdl2.c +++ b/examples/playit-sdl2.c @@ -77,7 +77,7 @@ static void sdl2_close(SDL_AudioDeviceID dev) } -int main(int argc, const char *argv[]) +int main(int argc, char *argv[]) { song_t *song; uint8_t buf[8192]; |