summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textscreen/examples/calculator.c2
-rw-r--r--textscreen/examples/guitest.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/textscreen/examples/calculator.c b/textscreen/examples/calculator.c
index af4cb3d4..0c416f7c 100644
--- a/textscreen/examples/calculator.c
+++ b/textscreen/examples/calculator.c
@@ -148,7 +148,7 @@ void BuildGUI()
UpdateInputBox();
}
-int main()
+int main(int argc, char *argv[])
{
TXT_Init();
TXT_SetDesktopTitle("Calculator demo");
diff --git a/textscreen/examples/guitest.c b/textscreen/examples/guitest.c
index f3d27582..9c96e2e5 100644
--- a/textscreen/examples/guitest.c
+++ b/textscreen/examples/guitest.c
@@ -178,7 +178,7 @@ void DrawASCIIChart()
}
}
-int main()
+int main(int argc, char *argv[])
{
TXT_Init();