From e4a1f12e7e44b2b62ece74c9ea36354fa944acf9 Mon Sep 17 00:00:00 2001 From: plunky Date: Wed, 31 Aug 2011 16:24:54 +0000 Subject: NULL does not need a cast --- arithmetic/arithmetic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'arithmetic') diff --git a/arithmetic/arithmetic.c b/arithmetic/arithmetic.c index 696208c6..bd6c8141 100644 --- a/arithmetic/arithmetic.c +++ b/arithmetic/arithmetic.c @@ -1,4 +1,4 @@ -/* $NetBSD: arithmetic.c,v 1.25 2009/08/27 00:21:45 dholland Exp $ */ +/* $NetBSD: arithmetic.c,v 1.26 2011/08/31 16:24:55 plunky Exp $ */ /* * Copyright (c) 1989, 1993 @@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\ #if 0 static char sccsid[] = "@(#)arithmetic.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: arithmetic.c,v 1.25 2009/08/27 00:21:45 dholland Exp $"); +__RCSID("$NetBSD: arithmetic.c,v 1.26 2011/08/31 16:24:55 plunky Exp $"); #endif #endif /* not lint */ @@ -139,7 +139,7 @@ main(int argc, char **argv) usage(); /* Seed the random-number generator. */ - srandom((int)time((time_t *)NULL)); + srandom((int)time(NULL)); (void)signal(SIGINT, intr); -- cgit v1.2.3-56-ge451