diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-04-16 19:24:56 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-04-16 19:24:56 +0000 |
commit | f4fd1a5df1c2cc4b370eed0755b652de8cf1dd3b (patch) | |
tree | 6e633fe5601d944cc1fa5f0c6d4ff20fef9b59d8 /usr.sbin | |
parent | 6ee9a121a718e2b1724c426baf53f667621db4e5 (diff) |
remove casts to time_t * which are not needed
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/syslogd/syslogd.c | 4 | ||||
-rw-r--r-- | usr.sbin/yppoll/yppoll.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c index 175a52a337c..64cf528c253 100644 --- a/usr.sbin/syslogd/syslogd.c +++ b/usr.sbin/syslogd/syslogd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: syslogd.c,v 1.106 2013/03/11 17:40:11 deraadt Exp $ */ +/* $OpenBSD: syslogd.c,v 1.107 2013/04/16 19:24:55 deraadt Exp $ */ /* * Copyright (c) 1983, 1988, 1993, 1994 @@ -1686,7 +1686,7 @@ markit(void) { struct filed *f; - now = time((time_t *)NULL); + now = time(NULL); MarkSeq += TIMERINTVL; if (MarkSeq >= MarkInterval) { logmsg(LOG_INFO, "-- MARK --", diff --git a/usr.sbin/yppoll/yppoll.c b/usr.sbin/yppoll/yppoll.c index df84e2fa125..6cb4f4d4460 100644 --- a/usr.sbin/yppoll/yppoll.c +++ b/usr.sbin/yppoll/yppoll.c @@ -1,4 +1,4 @@ -/* $OpenBSD: yppoll.c,v 1.13 2013/04/02 02:50:49 deraadt Exp $ */ +/* $OpenBSD: yppoll.c,v 1.14 2013/04/16 19:24:55 deraadt Exp $ */ /* $NetBSD: yppoll.c,v 1.5 1996/05/13 02:46:36 thorpej Exp $ */ /* @@ -168,7 +168,7 @@ main(int argc, char *argv[]) torder = order; printf("Map %s has order number %lld. %s", inmap, - (long long)order, ctime((time_t *)&torder)); + (long long)order, ctime(&torder)); printf("The master server is %s.\n", master); exit(0); } |