-/* $NetBSD: extern.h,v 1.6 1998/08/29 22:40:07 hubertf Exp $ */
+/* $NetBSD: extern.h,v 1.9 1998/09/13 15:21:37 hubertf Exp $ */
/*
* Copyright (c) 1997 Christos Zoulas. All rights reserved.
/* crc.c */
void crc_start __P((void));
-unsigned long crc __P((char *, int));
+unsigned long crc __P((const char *, int));
/* done.c */
int score __P((void));
-void done __P((int));
-int die __P((int));
+void done __P((int)) __attribute__((__noreturn__));
+void die __P((int));
/* init.c */
void init __P((void));
void rspeak __P((int));
void mspeak __P((int));
struct text;
-void speak __P((struct text *));
+void speak __P((const struct text *));
void pspeak __P((int, int));
-/* main.c */
-int main __P((int, char **));
-
/* save.c */
-int save __P((char *));
-int restore __P((char *));
+int save __P((const char *));
+int restore __P((const char *));
/* subr.c */
int toting __P((int));
int mback __P((void));
int specials __P((void));
int trbridge __P((void));
-int badmove __P((void));
-int bug __P((int)) __attribute__((__noreturn__));
-int checkhints __P((void));
+void badmove __P((void));
+void bug __P((int)) __attribute__((__noreturn__));
+void checkhints __P((void));
int trsay __P((void));
int trtake __P((void));
int dropper __P((void));
int trtoss __P((void));
int trfeed __P((void));
int trfill __P((void));
-int closing __P((void));
-int caveclose __P((void));
+void closing __P((void));
+void caveclose __P((void));
/* vocab.c */
void dstroy __P((int));
int put __P((int, int, int));
void carry __P((int, int));
void drop __P((int, int));
-int vocab __P((char *, int, int));
+int vocab __P((const char *, int, int));
/* These three used to be functions in vocab.c */
#define copystr(src, dest) strcpy((dest), (src))