/*
* fmt_new.c -- read format file/string and normalize
*
- * $Id$
- *
* This code is Copyright (c) 2002, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
* complete copyright information.
new_fs (char *form, char *format, char *default_fs)
{
struct stat st;
- register FILE *fp;
+ FILE *fp;
if (formats)
free (formats);
}
+void
+free_fs (){
+ free (formats);
+ formats = 0;
+}
+
+
/*
* Expand escapes in format strings
*/