X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/49976f25a761e67a05cc493cc7ab88863a587e30..c576ad2674c37a1c63f004c71049998f38854c64:/sbr/fmt_new.c diff --git a/sbr/fmt_new.c b/sbr/fmt_new.c index e5de56f2..cd81017a 100644 --- a/sbr/fmt_new.c +++ b/sbr/fmt_new.c @@ -1,6 +1,4 @@ - -/* - * fmt_new.c -- read format file/string and normalize +/* fmt_new.c -- read format file/string and normalize * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for @@ -30,7 +28,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) @@ -58,7 +56,7 @@ new_fs (char *form, char *format, char *default_fs) void -free_fs (){ +free_fs(void) { free (formats); formats = 0; }