diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-03-24 19:30:15 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-03-24 19:30:15 +0000 |
commit | c138fec0b51e0f3b6c17e95244878dceb82ff085 (patch) | |
tree | 1c157d2d81cc94cc489d32ee19a60992a97c11c6 /sys/geom/geom_mbr.c | |
parent | b7b5ae3edbad0eca5ed8a9a08326ad0867b4d94d (diff) | |
download | src-c138fec0b51e0f3b6c17e95244878dceb82ff085.tar.gz src-c138fec0b51e0f3b6c17e95244878dceb82ff085.zip |
Premptively change initializations of struct g_class to use C99
sparse struct initializations before we extend the struct with
new OAM related member functions.
Notes
Notes:
svn path=/head/; revision=112552
Diffstat (limited to 'sys/geom/geom_mbr.c')
-rw-r--r-- | sys/geom/geom_mbr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/geom/geom_mbr.c b/sys/geom/geom_mbr.c index 8659665ac387..b60bc22edbe8 100644 --- a/sys/geom/geom_mbr.c +++ b/sys/geom/geom_mbr.c @@ -331,9 +331,8 @@ g_mbr_taste(struct g_class *mp, struct g_provider *pp, int insist) } static struct g_class g_mbr_class = { - MBR_CLASS_NAME, - g_mbr_taste, - NULL, + .name = MBR_CLASS_NAME, + .taste = g_mbr_taste, G_CLASS_INITIALIZER }; |