Make it compile under gcc 2.95 again. I guess the initialisers were

stripped in the NULL = 0 -> NULL = (void *) 0 conversion.
This commit is contained in:
reinoud 2003-10-31 13:43:15 +00:00
parent 2eab0ed5a5
commit 382038b55b
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: aha.c,v 1.40 2003/05/03 18:11:12 wiz Exp $ */
/* $NetBSD: aha.c,v 1.41 2003/10/31 13:43:15 reinoud Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@ -53,7 +53,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: aha.c,v 1.40 2003/05/03 18:11:12 wiz Exp $");
__KERNEL_RCSID(0, "$NetBSD: aha.c,v 1.41 2003/10/31 13:43:15 reinoud Exp $");
#include "opt_ddb.h"
@ -147,7 +147,7 @@ aha_cmd(iot, ioh, sc, icnt, ibuf, ocnt, obuf)
const char *name;
int i;
int wait;
u_char sts;
u_char sts = 0;
u_char opcode = ibuf[0];
if (sc != NULL)

View File

@ -1,4 +1,4 @@
/* $NetBSD: bha.c,v 1.54 2003/05/03 18:11:15 wiz Exp $ */
/* $NetBSD: bha.c,v 1.55 2003/10/31 13:43:15 reinoud Exp $ */
/*-
* Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc.
@ -53,7 +53,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: bha.c,v 1.54 2003/05/03 18:11:15 wiz Exp $");
__KERNEL_RCSID(0, "$NetBSD: bha.c,v 1.55 2003/10/31 13:43:15 reinoud Exp $");
#include "opt_ddb.h"
@ -780,7 +780,7 @@ bha_cmd(iot, ioh, name, icnt, ibuf, ocnt, obuf)
{
int i;
int wait;
u_char sts;
u_char sts = 0;
u_char opcode = ibuf[0];
/*