HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ee7d7b
)
Include time.h unconditionally.
author
Chong Yidong
<cyd@stupidchicken.com>
Fri, 13 Feb 2009 14:21:30 +0000
(14:21 +0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Fri, 13 Feb 2009 14:21:30 +0000
(14:21 +0000)
(main): Use time_t for time variables.
lib-src/movemail.c
patch
|
blob
|
blame
|
history
diff --git
a/lib-src/movemail.c
b/lib-src/movemail.c
index
d944374
..
70efce8
100644
(file)
--- a/
lib-src/movemail.c
+++ b/
lib-src/movemail.c
@@
-60,6
+60,7
@@
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <sys/file.h>
#include <stdio.h>
#include <errno.h>
+#include <time.h>
#include <getopt.h>
#ifdef HAVE_UNISTD_H
@@
-375,7
+376,7
@@
main (argc, argv)
int lockcount = 0;
int status = 0;
#if defined (MAIL_USE_MAILLOCK) && defined (HAVE_TOUCHLOCK)
-
long
touched_lock, now;
+
time_t
touched_lock, now;
#endif
setuid (getuid ());
@@
-684,7
+685,6
@@
xmalloc (size)
#endif
#include <pwd.h>
#include <string.h>
-#include <time.h>
#define NOTOK (-1)
#define OK 0