diff xrogue/state.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 e52a8a7ad4c5
line wrap: on
line diff
--- a/xrogue/state.c	Fri Sep 22 16:24:40 2017 -0400
+++ b/xrogue/state.c	Sat Sep 23 09:47:00 2017 -0400
@@ -3152,7 +3152,7 @@
 #endif
 }
 
-int
+void
 md_srand(int seed)
 {
 #ifdef _WIN32
@@ -3598,7 +3598,7 @@
     noecho();                           /* Echo off */
 }
 
-int
+void
 md_normaluser(void)
 {
 #ifndef _WIN32