Mercurial > hg > early-roguelike
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 284:6376b514a30b | 285:17005af49963 |
|---|---|
| 1415 int md_getuid(void); | 1415 int md_getuid(void); |
| 1416 char *md_getusername(void); | 1416 char *md_getusername(void); |
| 1417 void md_init(void); | 1417 void md_init(void); |
| 1418 int md_killchar(void); | 1418 int md_killchar(void); |
| 1419 long md_memused(void); | 1419 long md_memused(void); |
| 1420 int md_normaluser(void); | 1420 void md_normaluser(void); |
| 1421 int md_rand(void); | 1421 int md_rand(void); |
| 1422 unsigned int md_random_seed(void); | 1422 unsigned int md_random_seed(void); |
| 1423 int md_readchar(WINDOW *win); | 1423 int md_readchar(WINDOW *win); |
| 1424 int md_shellescape(void); | 1424 int md_shellescape(void); |
| 1425 int md_srand(int seed); | 1425 void md_srand(int seed); |
| 1426 int md_unlink(char *file); | 1426 int md_unlink(char *file); |
| 1427 int md_unlink_open_file(char *file, FILE *inf); | 1427 int md_unlink_open_file(char *file, FILE *inf); |
| 1428 | 1428 |
| 1429 #ifdef CHECKTIME | 1429 #ifdef CHECKTIME |
| 1430 int checkout(); | 1430 int checkout(); |
