diff options
author | 1997-06-25 18:40:40 +0000 | |
---|---|---|
committer | 1997-06-25 18:40:40 +0000 | |
commit | 92dc8f3ccb9a64815fb2f87319561771dc49531c (patch) | |
tree | 6dae25bc98bd9dfdfe6217d6c51d4382ded6138e | |
parent | (foo *)0 -> NULL (diff) | |
download | wireguard-openbsd-92dc8f3ccb9a64815fb2f87319561771dc49531c.tar.xz wireguard-openbsd-92dc8f3ccb9a64815fb2f87319561771dc49531c.zip |
(foo *)0 -> NULL
-rw-r--r-- | sbin/fsck_ext2fs/inode.c | 6 | ||||
-rw-r--r-- | sbin/fsck_ext2fs/main.c | 10 | ||||
-rw-r--r-- | sbin/fsck_ext2fs/utilities.c | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/sbin/fsck_ext2fs/inode.c b/sbin/fsck_ext2fs/inode.c index d0090eed69a..8d2ca2f891b 100644 --- a/sbin/fsck_ext2fs/inode.c +++ b/sbin/fsck_ext2fs/inode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inode.c,v 1.3 1997/06/14 04:16:53 downsj Exp $ */ +/* $OpenBSD: inode.c,v 1.4 1997/06/25 18:40:40 kstailey Exp $ */ /* $NetBSD: inode.c,v 1.1 1997/06/11 11:21:49 bouyer Exp $ */ /* @@ -42,7 +42,7 @@ static char sccsid[] = "@(#)inode.c 8.5 (Berkeley) 2/8/95"; #if 0 static char rcsid[] = "$NetBSD: inode.c,v 1.1 1997/06/11 11:21:49 bouyer Exp $"; #else -static char rcsid[] = "$OpenBSD: inode.c,v 1.3 1997/06/14 04:16:53 downsj Exp $"; +static char rcsid[] = "$OpenBSD: inode.c,v 1.4 1997/06/25 18:40:40 kstailey Exp $"; #endif #endif #endif /* not lint */ @@ -438,7 +438,7 @@ getinoinfo(inumber) return (inp); } errexit("cannot find inode %d\n", inumber); - return ((struct inoinfo *)0); + return (NULL); } /* diff --git a/sbin/fsck_ext2fs/main.c b/sbin/fsck_ext2fs/main.c index b7e7386eb7f..9376f649e68 100644 --- a/sbin/fsck_ext2fs/main.c +++ b/sbin/fsck_ext2fs/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.3 1997/06/14 04:16:53 downsj Exp $ */ +/* $OpenBSD: main.c,v 1.4 1997/06/25 18:40:42 kstailey Exp $ */ /* $NetBSD: main.c,v 1.1 1997/06/11 11:21:50 bouyer Exp $ */ /* @@ -48,7 +48,7 @@ static char sccsid[] = "@(#)main.c 8.2 (Berkeley) 1/23/94"; #if 0 static char rcsid[] = "$NetBSD: main.c,v 1.1 1997/06/11 11:21:50 bouyer Exp $"; #else -static char rcsid[] = "$OpenBSD: main.c,v 1.3 1997/06/14 04:16:53 downsj Exp $"; +static char rcsid[] = "$OpenBSD: main.c,v 1.4 1997/06/25 18:40:42 kstailey Exp $"; #endif #endif #endif /* not lint */ @@ -288,9 +288,9 @@ checkfilesys(filesys, mntpt, auxdata, child) printf("\n"); } } - zlnhead = (struct zlncnt *)0; - duplist = (struct dups *)0; - muldup = (struct dups *)0; + zlnhead = NULL; + duplist = NULL; + muldup = NULL; inocleanup(); if (fsmodified) { time_t t; diff --git a/sbin/fsck_ext2fs/utilities.c b/sbin/fsck_ext2fs/utilities.c index debb82c446b..d83136ce00d 100644 --- a/sbin/fsck_ext2fs/utilities.c +++ b/sbin/fsck_ext2fs/utilities.c @@ -1,4 +1,4 @@ -/* $OpenBSD: utilities.c,v 1.3 1997/06/14 04:17:00 downsj Exp $ */ +/* $OpenBSD: utilities.c,v 1.4 1997/06/25 18:40:43 kstailey Exp $ */ /* $NetBSD: utilities.c,v 1.1 1997/06/11 11:22:02 bouyer Exp $ */ /* @@ -42,7 +42,7 @@ static char sccsid[] = "@(#)utilities.c 8.1 (Berkeley) 6/5/93"; #if 0 static char rcsid[] = "$NetBSD: utilities.c,v 1.1 1997/06/11 11:22:02 bouyer Exp $"; #else -static char rcsid[] = "$OpenBSD: utilities.c,v 1.3 1997/06/14 04:17:00 downsj Exp $"; +static char rcsid[] = "$OpenBSD: utilities.c,v 1.4 1997/06/25 18:40:43 kstailey Exp $"; #endif #endif #endif /* not lint */ @@ -132,7 +132,7 @@ bufinit() long bufcnt, i; char *bufp; - pbp = pdirbp = (struct bufarea *)0; + pbp = pdirbp = NULL; bufhead.b_next = bufhead.b_prev = &bufhead; bufcnt = MAXBUFSPACE / sblock.e2fs_bsize; if (bufcnt < MINBUFS) @@ -271,7 +271,7 @@ ckfini(markclean) } if (bufhead.b_size != cnt) errexit("Panic: lost %d buffers\n", bufhead.b_size - cnt); - pbp = pdirbp = (struct bufarea *)0; + pbp = pdirbp = NULL; if (markclean && (sblock.e2fs.e2fs_state & E2FS_ISCLEAN) == 0) { /* * Mark the file system as clean, and sync the superblock. |