Added {} around two initializers for spare[2] in some structs. This calms

down -Wall a little bit.
This commit is contained in:
Poul-Henning Kamp 1994-08-18 23:36:40 +00:00
parent f23b4c91c4
commit 11a9e878f3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2113
3 changed files with 9 additions and 9 deletions

View File

@ -12,7 +12,7 @@
* on the understanding that TFS is not responsible for the correct
* functioning of this software in any circumstances.
*
* $Id: aha1542.c,v 1.28 1994/08/13 03:49:52 wollman Exp $
* $Id: aha1542.c,v 1.29 1994/08/14 21:06:00 ats Exp $
*/
/*
@ -327,7 +327,7 @@ struct scsi_adapter aha_switch =
0,
aha_adapter_info,
"aha",
0, 0
{ 0, 0 }
};
/* the below structure is so we have a default dev struct for out link struct */
@ -339,7 +339,7 @@ struct scsi_device aha_dev =
NULL, /* Use default 'done' routine */
"aha",
0,
0, 0
{ 0, 0 }
};
struct isa_driver ahadriver =

View File

@ -12,7 +12,7 @@
* on the understanding that TFS is not responsible for the correct
* functioning of this software in any circumstances.
*
* $Id: bt742a.c,v 1.17 1994/05/27 04:02:01 rgrimes Exp $
* $Id: bt742a.c,v 1.18 1994/08/13 03:49:55 wollman Exp $
*/
/*
@ -371,7 +371,7 @@ struct scsi_adapter bt_switch =
0,
bt_adapter_info,
"bt",
0, 0
{ 0, 0 }
};
/* the below structure is so we have a default dev struct for out link struct */
@ -383,7 +383,7 @@ struct scsi_device bt_dev =
NULL, /* Use default 'done' routine */
"bt",
0,
0, 0
{ 0, 0 }
};
#endif /*KERNEL */

View File

@ -19,7 +19,7 @@
* commenced: Sun Sep 27 18:14:01 PDT 1992
* slight mod to make work with 34F as well: Wed Jun 2 18:05:48 WST 1993
*
* $Id: ultra14f.c,v 1.19 1994/05/27 04:02:08 rgrimes Exp $
* $Id: ultra14f.c,v 1.20 1994/08/13 03:50:17 wollman Exp $
*/
#include <sys/types.h>
@ -277,7 +277,7 @@ struct scsi_adapter uha_switch =
0,
uha_adapter_info,
"uha",
0, 0
{ 0, 0 }
};
/* the below structure is so we have a default dev struct for out link struct */
@ -289,7 +289,7 @@ struct scsi_device uha_dev =
NULL, /* Use default 'done' routine */
"uha",
0,
0, 0
{ 0, 0 }
};
#endif /*KERNEL */