message history followup

Add a couple missing prototypes
removed an unused variable
This commit is contained in:
cohrs
2003-10-06 02:55:55 +00:00
parent bc70857749
commit 9c24966fe2
2 changed files with 5 additions and 1 deletions

View File

@@ -29,6 +29,7 @@ STATIC_DCL void FDECL(ghostfruit, (struct obj *));
STATIC_DCL boolean FDECL(restgamestate, (int, unsigned int *, unsigned int *));
STATIC_DCL void FDECL(restlevelstate, (unsigned int, unsigned int));
STATIC_DCL int FDECL(restlevelfile, (int,XCHAR_P));
STATIC_OVL void FDECL(restore_msghistory, (int));
STATIC_DCL void FDECL(reset_oattached_mids, (BOOLEAN_P));
#ifndef GOLDOBJ
STATIC_DCL struct obj *FDECL(gold_in, (struct obj *));
@@ -911,10 +912,11 @@ boolean ghostly;
clear_id_mapping();
}
STATIC_OVL void
restore_msghistory(fd)
register int fd;
{
int msgsize, k, msgcount = 0;
int msgsize, msgcount = 0;
char msg[BUFSZ];
while(1) {

View File

@@ -31,6 +31,7 @@ STATIC_DCL void FDECL(saveobjchn, (int,struct obj *,int));
STATIC_DCL void FDECL(savemonchn, (int,struct monst *,int));
STATIC_DCL void FDECL(savetrapchn, (int,struct trap *,int));
STATIC_DCL void FDECL(savegamestate, (int,int));
STATIC_OVL void FDECL(save_msghistory, (int,int));
#ifdef MFLOPPY
STATIC_DCL void FDECL(savelev0, (int,XCHAR_P,int));
STATIC_DCL boolean NDECL(swapout_oldest);
@@ -985,6 +986,7 @@ register int fd, mode;
ffruit = 0;
}
STATIC_OVL void
save_msghistory(fd, mode)
register int fd, mode;
{