Mercurial > hg > early-roguelike
comparison xrogue/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 |
comparison
equal
deleted
inserted
replaced
284:6376b514a30b | 285:17005af49963 |
---|---|
1501 | 1501 |
1502 void tstp(); | 1502 void tstp(); |
1503 | 1503 |
1504 int md_getuid(void); | 1504 int md_getuid(void); |
1505 long md_memused(void); | 1505 long md_memused(void); |
1506 int md_normaluser(void); | 1506 void md_normaluser(void); |
1507 int md_rand(int range); | 1507 int md_rand(int range); |
1508 unsigned int md_random_seed(void); | 1508 unsigned int md_random_seed(void); |
1509 void md_setup(void); | 1509 void md_setup(void); |
1510 int md_shellescape(void); | 1510 int md_shellescape(void); |
1511 int md_srand(int seed); | 1511 void md_srand(int seed); |
1512 | 1512 |
1513 /* | 1513 /* |
1514 * Now all the global variables | 1514 * Now all the global variables |
1515 */ | 1515 */ |
1516 | 1516 |