aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demos/modules/gos/threads/gfxconf.h1
-rw-r--r--demos/modules/gos/threads/main.c4
2 files changed, 4 insertions, 1 deletions
diff --git a/demos/modules/gos/threads/gfxconf.h b/demos/modules/gos/threads/gfxconf.h
index 4db65532..71a23ac0 100644
--- a/demos/modules/gos/threads/gfxconf.h
+++ b/demos/modules/gos/threads/gfxconf.h
@@ -37,4 +37,3 @@
//#define GFX_USE_OS_OSX FALSE
#endif /* _GFXCONF_H */
-
diff --git a/demos/modules/gos/threads/main.c b/demos/modules/gos/threads/main.c
index b3d8da73..c68fcd18 100644
--- a/demos/modules/gos/threads/main.c
+++ b/demos/modules/gos/threads/main.c
@@ -45,6 +45,8 @@ threadreturn_t Thread1_function(void* param)
printf("Message from Thread 1\r\n");
gfxSleepMilliseconds(500);
}
+
+ return (threadreturn_t)0;
}
/*
@@ -59,6 +61,8 @@ threadreturn_t Thread2_function(void* param)
printf("Message from Thread 2: %s\r\n", (char*)param);
gfxSleepMilliseconds(500);
}
+
+ return (threadreturn_t)0;
}
int main(void)