smallish compile-fixes for linux

This commit is contained in:
Enno Rehling 2005-11-18 23:42:11 +00:00
parent 357a73e826
commit e006d8a4d0
2 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@ SubDirHdrs $(SUBDIR)/../kernel ;
SubDirHdrs $(SUBDIR)/../util ; SubDirHdrs $(SUBDIR)/../util ;
SubDirHdrs $(SUBDIR)/.. ; SubDirHdrs $(SUBDIR)/.. ;
SubDirHdrs $(SUBDIR)/../.. ; SubDirHdrs $(SUBDIR)/../.. ;
SubDirHdrs $(XMLHDRS) ;
SOURCES = SOURCES =
creation.c creation.c

View File

@ -95,7 +95,7 @@ typedef struct report_context {
void * userdata; void * userdata;
} report_context; } report_context;
typedef int (*report_fun)(FILE * F, report_context * ctx); typedef int (*report_fun)(const char * filename, report_context * ctx);
extern void register_reporttype(const char * extension, report_fun write, int flag); extern void register_reporttype(const char * extension, report_fun write, int flag);
extern void report_item(const struct unit * owner, const struct item * i, const struct faction * viewer, const char ** name, const char ** basename, int * number, boolean singular); extern void report_item(const struct unit * owner, const struct item * i, const struct faction * viewer, const char ** name, const char ** basename, int * number, boolean singular);