projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
continuing war on unnecessary include of sys/time.h
[citadel.git]
/
citadel
/
utils
/
msgform.c
diff --git
a/citadel/utils/msgform.c
b/citadel/utils/msgform.c
index 201745a03c2e010f44713900d9362c29d635255d..909e6b8ed2b62027dc197d2b91a59b40d7e731ad 100644
(file)
--- a/
citadel/utils/msgform.c
+++ b/
citadel/utils/msgform.c
@@
-16,18
+16,7
@@
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include <stdio.h>
#include <ctype.h>
#include <string.h>
-
-#if TIME_WITH_SYS_TIME
-# include <sys/time.h>
-# include <time.h>
-#else
-# if HAVE_SYS_TIME_H
-# include <sys/time.h>
-# else
-# include <time.h>
-# endif
-#endif
-
+#include <time.h>
#include <errno.h>
#include <libcitadel.h>
#include <errno.h>
#include <libcitadel.h>
@@
-53,7
+42,7
@@
char *strerror(int e)
int main(int argc, char **argv)
{
struct tm tm;
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;
char bbb[1024];
char subject[1024];
FILE *fp;
@@
-79,7
+68,7
@@
TOP: do {
exit(0);
} while (e != 255);
strcpy(subject, "");
exit(0);
} while (e != 255);
strcpy(subject, "");
-
mtype =
getc(fp);
+ getc(fp);
aflag = getc(fp);
if (qwk == 0)
printf(" ");
aflag = getc(fp);
if (qwk == 0)
printf(" ");