X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Futils%2Fmsgform.c;fp=citadel%2Futils%2Fmsgform.c;h=909e6b8ed2b62027dc197d2b91a59b40d7e731ad;hp=201745a03c2e010f44713900d9362c29d635255d;hb=ada8144bf852768101effe5657d13c36b1ed1f6f;hpb=d4cb5c8734129f39c1e79f3a93d9cfc7db5ae058 diff --git a/citadel/utils/msgform.c b/citadel/utils/msgform.c index 201745a03..909e6b8ed 100644 --- a/citadel/utils/msgform.c +++ b/citadel/utils/msgform.c @@ -16,18 +16,7 @@ #include #include #include - -#if TIME_WITH_SYS_TIME -# include -# include -#else -# if HAVE_SYS_TIME_H -# include -# else -# include -# endif -#endif - +#include #include #include @@ -53,7 +42,7 @@ char *strerror(int e) int main(int argc, char **argv) { struct tm tm; - int a, b, e, mtype, aflag; + int a, b, e, aflag; char bbb[1024]; char subject[1024]; FILE *fp; @@ -79,7 +68,7 @@ TOP: do { exit(0); } while (e != 255); strcpy(subject, ""); - mtype = getc(fp); + getc(fp); aflag = getc(fp); if (qwk == 0) printf(" ");