Addressed several compiler warnings.

This commit is contained in:
mcclure
2017-10-09 13:03:48 -04:00
parent 08374524d0
commit fc4c64c782
61 changed files with 163 additions and 395 deletions

View File

@@ -61,7 +61,7 @@ static int has_boat(struct char_data *ch)
}
/* Simple function to determine if char can fly. */
int has_flight(struct char_data *ch)
static int has_flight(struct char_data *ch)
{
struct obj_data *obj;
int i;
@@ -86,7 +86,7 @@ int has_flight(struct char_data *ch)
}
/* Simple function to determine if char can scuba. */
int has_scuba(struct char_data *ch)
static int has_scuba(struct char_data *ch)
{
struct obj_data *obj;
int i;
@@ -123,9 +123,7 @@ int has_scuba(struct char_data *ch)
* @param ch The character structure to attempt to move.
* @param dir The defined direction (NORTH, SOUTH, etc...) to attempt to
* move into.
* @param need_specials_check If TRUE will cause
* @retval int 1 for a successful move (ch is now in a new location)
* or 0 for a failed move (ch is still in the original location). */
* @param need_specials_check If TRUE will cause */
int do_simple_move(struct char_data *ch, int dir, int need_specials_check)
{
/* Begin Local variable definitions */