diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-06-17 20:42:55 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-06-17 20:42:55 +0000 |
commit | efe29ad509b05a25aab2d8e78467139ec72dd63b (patch) | |
tree | e2f0312df4d778e524ccdc8f45c326bb5e51e5d2 /usr.bin | |
parent | dd85ef8bec96516bd0e181204725133d3ae9cce5 (diff) |
(foo *)NULL -> NULL
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/more/more.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/more/more.c b/usr.bin/more/more.c index a53ee5563d8..c7f7741fbed 100644 --- a/usr.bin/more/more.c +++ b/usr.bin/more/more.c @@ -1,4 +1,4 @@ -/* $OpenBSD: more.c,v 1.7 1997/01/17 07:12:53 millert Exp $ */ +/* $OpenBSD: more.c,v 1.8 1997/06/17 20:42:54 kstailey Exp $ */ /*- * Copyright (c) 1980 The Regents of the University of California. * All rights reserved. @@ -375,19 +375,19 @@ checkf (fs, clearfirst) if (clreol) cleareol (); perror(fs); - return((FILE *)NULL); + return(NULL); } if ((stbuf.st_mode & S_IFMT) == S_IFDIR) { prtf("\n*** %s: directory ***\n\n", fs); - return((FILE *)NULL); + return(NULL); } if ((f = Fopen(fs, "r")) == NULL) { (void)fflush(stdout); perror(fs); - return((FILE *)NULL); + return(NULL); } if (magic(f, fs)) - return((FILE *)NULL); + return(NULL); c = Getc(f); *clearfirst = c == '\f'; Ungetc (c, f); |