Modernize return type for main. - sam - An updated version of the sam text editor.
(HTM) git clone git://vernunftzentrum.de/sam.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit b646f65c25a1d1ba6e2d2523d896e97696219f33
(DIR) parent 72c7dc0bbc70cc1b19e186cdd0c6d2bb4a512af5
(HTM) Author: Rob King <jking@deadpixi.com>
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(-)
---
(DIR) 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;
}