summaryrefslogtreecommitdiff
path: root/test/simple/iupmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/simple/iupmain.c')
-rw-r--r--test/simple/iupmain.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/simple/iupmain.c b/test/simple/iupmain.c
index 7db2672..4eb4a5d 100644
--- a/test/simple/iupmain.c
+++ b/test/simple/iupmain.c
@@ -1,4 +1,4 @@
-
+#include <stdlib.h>
#include <iup.h>
#include <cd.h>
@@ -11,9 +11,9 @@ int cmdExit(void)
void simple_loadled (void);
-int main(void)
+int main(int argc, char** argv)
{
- IupOpen();
+ IupOpen(&argc, &argv);
cdInitContextPlus();
@@ -79,5 +79,5 @@ int main(void)
IupClose();
- return 1;
+ return EXIT_SUCCESS;
}