mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-19 14:08:06 +01:00
Addressed several compiler warnings.
This commit is contained in:
parent
08374524d0
commit
fc4c64c782
61 changed files with 163 additions and 395 deletions
8
src/db.c
8
src/db.c
|
|
@ -8,8 +8,6 @@
|
|||
* CircleMUD is based on DikuMUD, Copyright (C) 1990, 1991. *
|
||||
**************************************************************************/
|
||||
|
||||
#define __DB_C__
|
||||
|
||||
#include "conf.h"
|
||||
#include "sysdep.h"
|
||||
#include "structs.h"
|
||||
|
|
@ -114,8 +112,8 @@ struct help_index_element *help_table = NULL;
|
|||
struct social_messg *soc_mess_list = NULL; /* list of socials */
|
||||
int top_of_socialt = -1; /* number of socials */
|
||||
|
||||
time_t newsmod; /* Time news file was last modified. */
|
||||
time_t motdmod; /* Time motd file was last modified. */
|
||||
time_t newsmod; /* Time news file was last modified. */
|
||||
time_t motdmod; /* Time motd file was last modified. */
|
||||
|
||||
struct time_info_data time_info; /* the infomation about the time */
|
||||
struct weather_data weather_info; /* the infomation about the weather */
|
||||
|
|
@ -184,7 +182,7 @@ char *fread_action(FILE *fl, int nr)
|
|||
return (strdup(buf));
|
||||
}
|
||||
|
||||
void boot_social_messages(void)
|
||||
static void boot_social_messages(void)
|
||||
{
|
||||
FILE *fl;
|
||||
int nr = 0, hide, min_char_pos, min_pos, min_lvl, curr_soc = -1, i;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue