Fix some potential problems detected by clang.

Most of these are unnecessary comparisons and functions returning the
wrong types.
This commit is contained in:
John "Elwin" Edwards 2017-09-23 09:47:00 -04:00
parent 614dcfffd2
commit 172c83f254
11 changed files with 24 additions and 25 deletions

View file

@ -3152,7 +3152,7 @@ md_rand(int range)
#endif
}
int
void
md_srand(int seed)
{
#ifdef _WIN32
@ -3598,7 +3598,7 @@ md_setup(void)
noecho(); /* Echo off */
}
int
void
md_normaluser(void)
{
#ifndef _WIN32