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) {