static int mbx_style = MBOX_FORMAT;
static int mapping = 0;
+static int mbxclose_done(int);
+
char *file = NULL;
struct msgs *mp;
struct stat st;
+ done=mbxclose_done;
+
#ifdef LOCALE
setlocale(LC_ALL, "");
#endif
return done (0);
}
-int
-done (int status)
+static int
+mbxclose_done (int status)
{
mbx_close (file, md);
exit (status);