aboutsummaryrefslogtreecommitdiff
path: root/examples/system/childexec/child
diff options
context:
space:
mode:
authorJohn "Lameguy" Wilbert Villamor <lameguy64@gmail.com>2022-10-19 17:57:06 +0800
committerGitHub <noreply@github.com>2022-10-19 17:57:06 +0800
commite08a3d9366f8ca14a76b3dd569dac1fb9f569748 (patch)
tree33654513b0b184c27f8035dbc405640fcbeb44ab /examples/system/childexec/child
parentc4a2533d21dfd05cde841ea48c67b05e0e6a853f (diff)
parent9b2ffc6078a850b7d354855cca7622090b41f30c (diff)
downloadpsn00bsdk-e08a3d9366f8ca14a76b3dd569dac1fb9f569748.tar.gz
Merge pull request #59 from spicyjpeg/psxmdec
IRQ handler fix, .STR playback example, multiple library builds (v0.21)
Diffstat (limited to 'examples/system/childexec/child')
-rw-r--r--examples/system/childexec/child/child.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/system/childexec/child/child.c b/examples/system/childexec/child/child.c
index bd17440..dcfbfaf 100644
--- a/examples/system/childexec/child/child.c
+++ b/examples/system/childexec/child/child.c
@@ -98,8 +98,8 @@ MATRIX light_mtx = {
char pad_buff[2][34];
/* Function declarations */
-void init();
-void display();
+void init(void);
+void display(void);
/* Main function */
@@ -245,7 +245,7 @@ int main(int argc, const char *argv[]) {
}
-void init() {
+void init(void) {
/* Reset the GPU, also installs a VSync event handler */
ResetGraph( 0 );
@@ -300,7 +300,7 @@ void init() {
}
-void display() {
+void display(void) {
/* Wait for GPU to finish drawing and vertical retrace */
DrawSync( 0 );