]> git.marmaro.de Git - mmh/blobdiff - uip/rcvtty.c
Replaced open_form() with new_fs() for the last time and dropped the function.
[mmh] / uip / rcvtty.c
index 1dc38c4eeaab3f2fbc5cb95c59b329455c2fcb63..99ae680602871039123f49574cd56cf45b789fa0 100644 (file)
@@ -16,7 +16,6 @@
 #include <h/rcvmail.h>
 #include <h/scansbr.h>
 #include <h/tws.h>
-#include <h/mts.h>
 #include <signal.h>
 #include <fcntl.h>
 
@@ -69,11 +68,6 @@ static int width = 0;
 static char *form = NULL;
 static char *format = NULL;
 
-/*
-** external prototypes
-*/
-char *getusername(void);
-
 /*
 ** static prototypes
 */
@@ -298,7 +292,7 @@ header_fd(void)
        rewind(stdin);
 
        /* get new format string */
-       nfs = new_fs(form, format, SCANFMT);
+       nfs = new_fs(form, format, NULL, SCANFMT);
        scan(stdin, 0, 0, nfs, width, 0, 0, NULL, 0L, 0);
        if (newline)
                write(fd, "\n\r", 2);