diff arogue5/mdport.c @ 285:17005af49963

Fix some potential problems detected by clang. Most of these are unnecessary comparisons and functions returning the wrong types.
author John "Elwin" Edwards
date Sat, 23 Sep 2017 09:47:00 -0400
parents 6376b514a30b
children 5b6855d5d089
line wrap: on
line diff
--- a/arogue5/mdport.c	Fri Sep 22 16:24:40 2017 -0400
+++ b/arogue5/mdport.c	Sat Sep 23 09:47:00 2017 -0400
@@ -132,7 +132,7 @@
 
 static int md_standout_mode = 0;
 
-int
+void
 md_raw_standout(void)
 {
 #ifdef _WIN32
@@ -155,7 +155,7 @@
 #endif
 }
 
-int
+void
 md_raw_standend(void)
 {
 #ifdef _WIN32
@@ -223,7 +223,7 @@
 #endif
 }
 
-int
+void
 md_normaluser(void)
 {
 #ifndef _WIN32
@@ -596,7 +596,7 @@
 #endif
 }
 
-int
+void
 md_srand(int seed)
 {
 #ifdef _WIN32