summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-06-17 20:58:46 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-06-17 20:58:46 +0000
commit174026833cc40bf40f8dcfd58f8255f528170a17 (patch)
tree5afe55469ab0dbd2a93f8bfcacd332fff69b1d0c
parentc5bb459cdf0044d2bf947c46e30d3ccdea81aa7d (diff)
(foo *)NULL -> NULL
-rw-r--r--usr.bin/find/find.c6
-rw-r--r--usr.bin/find/ls.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/find/find.c b/usr.bin/find/find.c
index 3f79284515d..1e12e32fdf6 100644
--- a/usr.bin/find/find.c
+++ b/usr.bin/find/find.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: find.c,v 1.3 1996/10/24 03:46:04 tholo Exp $ */
+/* $OpenBSD: find.c,v 1.4 1997/06/17 20:58:08 kstailey Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -38,7 +38,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)find.c 8.1 (Berkeley) 6/6/93";*/
-static char rcsid[] = "$OpenBSD: find.c,v 1.3 1996/10/24 03:46:04 tholo Exp $";
+static char rcsid[] = "$OpenBSD: find.c,v 1.4 1997/06/17 20:58:08 kstailey Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -159,7 +159,7 @@ find_execute(plan, paths)
{
PLAN *p;
- if (!(tree = fts_open(paths, ftsoptions, (int (*)())NULL)))
+ if (!(tree = fts_open(paths, ftsoptions, NULL)))
err(1, "ftsopen");
while (entry = fts_read(tree)) {
diff --git a/usr.bin/find/ls.c b/usr.bin/find/ls.c
index adf7de06d5d..3504d4a390e 100644
--- a/usr.bin/find/ls.c
+++ b/usr.bin/find/ls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ls.c,v 1.2 1996/06/26 05:33:11 deraadt Exp $ */
+/* $OpenBSD: ls.c,v 1.3 1997/06/17 20:58:45 kstailey Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -35,7 +35,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)ls.c 8.1 (Berkeley) 6/6/93";*/
-static char rcsid[] = "$OpenBSD: ls.c,v 1.2 1996/06/26 05:33:11 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: ls.c,v 1.3 1997/06/17 20:58:45 kstailey Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -93,7 +93,7 @@ printtime(ftime)
(void)putchar(longstring[i]);
#define SIXMONTHS ((DAYSPERNYEAR / 2) * SECSPERDAY)
- if (ftime + SIXMONTHS > time((time_t *)NULL))
+ if (ftime + SIXMONTHS > time(NULL))
for (i = 11; i < 16; ++i)
(void)putchar(longstring[i]);
else {