diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-06-18 19:15:53 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-06-18 19:15:53 +0000 |
commit | bb66306f2980d3b189c751cc5069a4303e38cabe (patch) | |
tree | a8e541a02779b0c6f2e00b1d280922d62efae9e6 /bin/sh/expand.c | |
parent | 42a3178b64a12bdce641b855a8e8e2915051dd52 (diff) |
(foo *)NULL -> NULL
Diffstat (limited to 'bin/sh/expand.c')
-rw-r--r-- | bin/sh/expand.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/sh/expand.c b/bin/sh/expand.c index 353be2b69ab..a1f3c79e481 100644 --- a/bin/sh/expand.c +++ b/bin/sh/expand.c @@ -1,4 +1,4 @@ -/* $OpenBSD: expand.c,v 1.6 1996/11/02 16:00:04 millert Exp $ */ +/* $OpenBSD: expand.c,v 1.7 1997/06/18 19:15:50 kstailey Exp $ */ /* $NetBSD: expand.c,v 1.20 1996/02/12 15:11:41 christos Exp $ */ /*- @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)expand.c 8.5 (Berkeley) 5/15/95"; #else -static char rcsid[] = "$OpenBSD: expand.c,v 1.6 1996/11/02 16:00:04 millert Exp $"; +static char rcsid[] = "$OpenBSD: expand.c,v 1.7 1997/06/18 19:15:50 kstailey Exp $"; #endif #endif /* not lint */ @@ -123,7 +123,7 @@ expandhere(arg, fd) int fd; /* where to write the expanded version */ { herefd = fd; - expandarg(arg, (struct arglist *)NULL, 0); + expandarg(arg, NULL, 0); xwrite(fd, stackblock(), expdest - stackblock()); } @@ -462,7 +462,7 @@ subevalvar(p, str, strloc, subtype, startloc, varflags) case VSQUESTION: if (*p != CTLENDVAR) { outfmt(&errout, "%s\n", startp); - error((char *)NULL); + error(NULL); } error("%.*s: parameter %snot set", p - str - 1, str, (varflags & VSNUL) ? "null or " |