]> diplodocus.org Git - nmh/blobdiff - sbr/fmt_new.c
seq_del.c: Move interface to own file.
[nmh] / sbr / fmt_new.c
index c832e7fa9db165661a76de6cde0b54f371e88db9..97e2a7ad3dbf6e90523c83f740a74b871de05a02 100644 (file)
@@ -5,8 +5,9 @@
  * complete copyright information.
  */
 
-#include <h/mh.h>
-#include <h/utils.h>
+#include "h/mh.h"
+#include "error.h"
+#include "h/utils.h"
 
 #define QUOTE '\\'
 
@@ -28,7 +29,7 @@ new_fs (char *form, char *format, char *default_fs)
     struct stat st;
     FILE *fp;
 
-    mh_xfree(formats);
+    free(formats);
 
     if (form) {
        if ((fp = fopen (etcpath (form), "r")) == NULL)
@@ -56,7 +57,8 @@ new_fs (char *form, char *format, char *default_fs)
 
 
 void
-free_fs (){
+free_fs(void)
+{
     free (formats);
     formats = 0;
 }