-/* $NetBSD: extern.h,v 1.8 2008/04/28 20:22:54 martin Exp $ */
+/* $NetBSD: extern.h,v 1.11 2009/06/07 20:13:18 dholland Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
/* hack.lev.c */
void savelev(int, xchar);
-void bwrite(int, const void *, unsigned);
+void bwrite(int, const void *, size_t);
void saveobjchn(int, struct obj *);
void savemonchn(int, struct monst *);
void savegoldchn(int, struct gold *);
char *typename(int);
char *xname(struct obj *);
char *doname(struct obj *);
-void setan(const char *, char *);
+void setan(const char *, char *, size_t);
char *aobjnam(struct obj *, const char *);
char *Doname(struct obj *);
struct obj *readobjnam(char *);
void setrandom(void);
struct tm *getlt(void);
int getyear(void);
-char *getdate(void);
+char *getdatestr(void);
int phase_of_the_moon(void);
int night(void);
int midnight(void);