int debugsw = 0;
int verbosw = 0;
-/* The list of top-level contents to display */
-CT *cts = NULL;
-
#define quitser pipeser
/* mhparse.c */
/* mhfree.c */
void free_content (CT);
+extern CT *cts;
+void freects_done (int);
/*
* static prototypes
CT ct, *ctp;
FILE *fp;
+ done=freects_done;
+
#ifdef LOCALE
setlocale(LC_ALL, "");
#endif
context_save (); /* save the context file */
}
- return done (0);
+ done (0);
+ return 1;
}
done (1);
/* NOTREACHED */
}
-
-
-int
-done (int status)
-{
- CT *ctp;
-
- if ((ctp = cts))
- for (; *ctp; ctp++)
- free_content (*ctp);
-
- exit (status);
- return 1; /* dead code to satisfy the compiler */
-}