X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Frcvtty.c;h=99ae680602871039123f49574cd56cf45b789fa0;hb=84c6039eb7226c0ba0a8f708205e33d10950d2ae;hp=a62d091fd77d52402f9a7ff152ffedcc88a3493b;hpb=70b2643e0da8485174480c644ad9785c84f5bff4;p=mmh diff --git a/uip/rcvtty.c b/uip/rcvtty.c index a62d091..99ae680 100644 --- a/uip/rcvtty.c +++ b/uip/rcvtty.c @@ -16,7 +16,6 @@ #include #include #include -#include #include #include @@ -70,11 +69,6 @@ static char *form = NULL; static char *format = NULL; /* -** external prototypes -*/ -char *getusername(void); - -/* ** static prototypes */ static RETSIGTYPE alrmser(int); @@ -104,7 +98,6 @@ main(int argc, char **argv) /* read user profile/context */ context_read(); - mts_init(invo_name); arguments = getarguments(invo_name, argc, argv, 1); argp = arguments; @@ -299,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);