Mercurial > hg > early-roguelike
diff arogue7/rogue.h @ 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 | d3968e9cb98d |
children | 28e22fb35989 |
line wrap: on
line diff
--- a/arogue7/rogue.h Fri Sep 22 16:24:40 2017 -0400 +++ b/arogue7/rogue.h Sat Sep 23 09:47:00 2017 -0400 @@ -1417,12 +1417,12 @@ void md_init(void); int md_killchar(void); long md_memused(void); -int md_normaluser(void); +void md_normaluser(void); int md_rand(void); unsigned int md_random_seed(void); int md_readchar(WINDOW *win); int md_shellescape(void); -int md_srand(int seed); +void md_srand(int seed); int md_unlink(char *file); int md_unlink_open_file(char *file, FILE *inf);