/*
** prototypes
*/
-static void inc_done();
+void inc_done();
int
/* copy of mail directory because the static gets overwritten */
char *maildir_copy = NULL;
- atexit(inc_done);
+ if (atexit(inc_done) != 0) {
+ adios(NULL, "atexit failed");
+ }
/*
** absolutely the first thing we do is save our privileges,
return 0;
}
-static void
+void
inc_done()
{
if (locked) {