Mercurial > hg > early-roguelike
diff arogue7/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 | e52a8a7ad4c5 |
line wrap: on
line diff
--- a/arogue7/mdport.c Fri Sep 22 16:24:40 2017 -0400 +++ b/arogue7/mdport.c Sat Sep 23 09:47:00 2017 -0400 @@ -111,7 +111,7 @@ static int md_standout_mode = 0; -int +void md_raw_standout(void) { #ifdef _WIN32 @@ -134,7 +134,7 @@ #endif } -int +void md_raw_standend(void) { #ifdef _WIN32 @@ -213,7 +213,7 @@ } -int +void md_normaluser(void) { #ifndef _WIN32 @@ -581,7 +581,7 @@ #endif } -int +void md_srand(int seed) { #ifdef _WIN32