diff options
author | plunky <plunky@NetBSD.org> | 2011-08-31 16:24:54 +0000 |
---|---|---|
committer | plunky <plunky@NetBSD.org> | 2011-08-31 16:24:54 +0000 |
commit | e4a1f12e7e44b2b62ece74c9ea36354fa944acf9 (patch) | |
tree | 7b2f6b6fab996c47c42c962d0211d2fffdd0ec0d /hunt/hunt | |
parent | 8fdb2354b50bedf84e0744346e974d308ded6a1b (diff) | |
download | bsdgames-darwin-e4a1f12e7e44b2b62ece74c9ea36354fa944acf9.tar.gz bsdgames-darwin-e4a1f12e7e44b2b62ece74c9ea36354fa944acf9.tar.zst bsdgames-darwin-e4a1f12e7e44b2b62ece74c9ea36354fa944acf9.zip |
NULL does not need a cast
Diffstat (limited to 'hunt/hunt')
-rw-r--r-- | hunt/hunt/hunt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hunt/hunt/hunt.c b/hunt/hunt/hunt.c index 5c7e19fc..30bdb55a 100644 --- a/hunt/hunt/hunt.c +++ b/hunt/hunt/hunt.c @@ -1,4 +1,4 @@ -/* $NetBSD: hunt.c,v 1.39 2011/05/23 22:56:11 joerg Exp $ */ +/* $NetBSD: hunt.c,v 1.40 2011/08/31 16:24:56 plunky Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. * All rights reserved. @@ -32,7 +32,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: hunt.c,v 1.39 2011/05/23 22:56:11 joerg Exp $"); +__RCSID("$NetBSD: hunt.c,v 1.40 2011/08/31 16:24:56 plunky Exp $"); #endif /* not lint */ #include <sys/param.h> @@ -624,10 +624,10 @@ start_driver(void) #else if (use_port == NULL) #endif - execl(Driver, "HUNT", (char *) NULL); + execl(Driver, "HUNT", NULL); #ifdef INTERNET else - execl(Driver, "HUNT", "-p", use_port, (char *) NULL); + execl(Driver, "HUNT", "-p", use_port, NULL); #endif /* only get here if exec failed */ (void) kill(getppid(), SIGUSR1); /* tell mom */ |