From: kosmirror <kos...@us...> - 2025-06-10 05:23:35
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via f376087d912cab7891ae9f9941d871913664c2a6 (commit) via a62912ec7f41aa56f8d5cf809955a6f6d382ccc2 (commit) via a805aa69ec215eee64619c134a68a2d3181630b6 (commit) via 744bf35a2f1a099343dbab9b7c17690cdd0dc400 (commit) via 7b12f1e65eaf22201baeedf95df8bca21c0fe0e9 (commit) via e8a8adeb132df44c5e16b33b4540e0e418c774a4 (commit) from de20d2e938d89f63edd7ac8a570986c10478c9db (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit f376087d912cab7891ae9f9941d871913664c2a6 Author: Falco Girgis <gyr...@gm...> Date: Sun Jun 8 08:10:54 2025 -0500 Update examples/dreamcast/modem/ppp/ppp.c Co-authored-by: darcagn <da...@pr...> commit a62912ec7f41aa56f8d5cf809955a6f6d382ccc2 Author: Falco Girgis <gyr...@gm...> Date: Sun Jun 8 08:10:41 2025 -0500 Update examples/dreamcast/sound/hello-adx/libADXplay.c Co-authored-by: darcagn <da...@pr...> commit a805aa69ec215eee64619c134a68a2d3181630b6 Author: Falco Girgis <gyr...@gm...> Date: Sun Jun 8 08:10:28 2025 -0500 Update examples/dreamcast/modem/basic/basic.c Co-authored-by: darcagn <da...@pr...> commit 744bf35a2f1a099343dbab9b7c17690cdd0dc400 Author: Falco Girgis <gyr...@gm...> Date: Sun Jun 8 08:10:24 2025 -0500 Update examples/dreamcast/kgl/demos/specular/specular.c Co-authored-by: darcagn <da...@pr...> commit 7b12f1e65eaf22201baeedf95df8bca21c0fe0e9 Author: Falco Girgis <gyr...@gm...> Date: Sun Jun 8 08:10:17 2025 -0500 Update examples/dreamcast/2ndmix/2ndmix.c Co-authored-by: darcagn <da...@pr...> commit e8a8adeb132df44c5e16b33b4540e0e418c774a4 Author: Falco Girgis <gyr...@gm...> Date: Sun Jun 8 07:58:30 2025 -0500 Fixed main(..) function signature for examples. Several examples were giving warnings when compiled with LTO enabled, with GCC complaining about function signature mismatches between the "main()" prototype used within certain examples and the "mian(int argc, const char* argv[]) prototype that was predeclared within init.c. - Updated noncompliant examples to use proper main() signature. ----------------------------------------------------------------------- Summary of changes: examples/dreamcast/2ndmix/2ndmix.c | 2 +- examples/dreamcast/kgl/demos/specular/specular.c | 2 +- examples/dreamcast/modem/basic/basic.c | 2 +- examples/dreamcast/modem/ppp/ppp.c | 2 +- examples/dreamcast/sound/hello-adx/libADXplay.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/dreamcast/2ndmix/2ndmix.c b/examples/dreamcast/2ndmix/2ndmix.c index fb368646..25308251 100644 --- a/examples/dreamcast/2ndmix/2ndmix.c +++ b/examples/dreamcast/2ndmix/2ndmix.c @@ -832,7 +832,7 @@ pvr_init_params_t params = { KOS_INIT_FLAGS(INIT_DEFAULT); /* Main program: init and loop drawing polygons */ -int main() { +int main(int argc, const char *argv[]) { maple_device_t *cont; cont_state_t *state; diff --git a/examples/dreamcast/kgl/demos/specular/specular.c b/examples/dreamcast/kgl/demos/specular/specular.c index 6b794ce2..b3a8b6c0 100644 --- a/examples/dreamcast/kgl/demos/specular/specular.c +++ b/examples/dreamcast/kgl/demos/specular/specular.c @@ -998,7 +998,7 @@ int InputCb(void) { return 1; } -int main() { +int main(int argc, const char *argv[]) { /* Get basic stuff initialized */ glKosInit(); diff --git a/examples/dreamcast/modem/basic/basic.c b/examples/dreamcast/modem/basic/basic.c index c4c74d67..a086e451 100644 --- a/examples/dreamcast/modem/basic/basic.c +++ b/examples/dreamcast/modem/basic/basic.c @@ -29,7 +29,7 @@ int buttonPressed(int button) { return 0; } -int main() { +int main(int argc, const char *argv[]) { int answerMode = 0; unsigned char data[DATA_BUFFER_LENGTH]; int i; diff --git a/examples/dreamcast/modem/ppp/ppp.c b/examples/dreamcast/modem/ppp/ppp.c index 9ef4ca49..b437cca8 100644 --- a/examples/dreamcast/modem/ppp/ppp.c +++ b/examples/dreamcast/modem/ppp/ppp.c @@ -18,7 +18,7 @@ KOS_INIT_FLAGS(INIT_DEFAULT | INIT_NET); -int main() { +int main(int argc, const char *argv[]) { char buffer[1024]; int err; diff --git a/examples/dreamcast/sound/hello-adx/libADXplay.c b/examples/dreamcast/sound/hello-adx/libADXplay.c index 8e220511..e5387bca 100644 --- a/examples/dreamcast/sound/hello-adx/libADXplay.c +++ b/examples/dreamcast/sound/hello-adx/libADXplay.c @@ -56,7 +56,7 @@ int check_cont() return ret; } -int main() +int main(int argc, const char *argv[]) { /* Print some text to the screen */ int o = 20*640+20; hooks/post-receive -- A pseudo Operating System for the Dreamcast. |