Modernize return type for main. - sam - An updated version of the sam text edit… | |
git clone git://vernunftzentrum.de/sam.git | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit b646f65c25a1d1ba6e2d2523d896e97696219f33 | |
parent 72c7dc0bbc70cc1b19e186cdd0c6d2bb4a512af5 | |
Author: Rob King <[email protected]> | |
Date: Sun, 4 Sep 2016 18:12:39 -0500 | |
Modernize return type for main. | |
Diffstat: | |
samterm/main.c | 4 +++- | |
1 file changed, 3 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/samterm/main.c b/samterm/main.c | |
@@ -39,7 +39,7 @@ int oldcompat = 1; | |
int oldcompat = 0; | |
#endif | |
-void | |
+int | |
main(int argc, char *argv[]) | |
{ | |
int i, got, scr, opt; | |
@@ -139,6 +139,8 @@ main(int argc, char *argv[]) | |
mouseunblock(); | |
} | |
} | |
+ | |
+ return EXIT_SUCCESS; | |
} | |