projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replaced open_form() with new_fs() in forw.c.
[mmh]
/
uip
/
rcvtty.c
diff --git
a/uip/rcvtty.c
b/uip/rcvtty.c
index
1dc38c4
..
99ae680
100644
(file)
--- a/
uip/rcvtty.c
+++ b/
uip/rcvtty.c
@@
-16,7
+16,6
@@
#include <h/rcvmail.h>
#include <h/scansbr.h>
#include <h/tws.h>
#include <h/rcvmail.h>
#include <h/scansbr.h>
#include <h/tws.h>
-#include <h/mts.h>
#include <signal.h>
#include <fcntl.h>
#include <signal.h>
#include <fcntl.h>
@@
-70,11
+69,6
@@
static char *form = NULL;
static char *format = NULL;
/*
static char *format = NULL;
/*
-** external prototypes
-*/
-char *getusername(void);
-
-/*
** static prototypes
*/
static RETSIGTYPE alrmser(int);
** static prototypes
*/
static RETSIGTYPE alrmser(int);
@@
-298,7
+292,7
@@
header_fd(void)
rewind(stdin);
/* get new format string */
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);
scan(stdin, 0, 0, nfs, width, 0, 0, NULL, 0L, 0);
if (newline)
write(fd, "\n\r", 2);