From: Eivind Næss Date: Mon, 20 Sep 2021 17:13:00 +0000 (-0700) Subject: Fixing CLang warnings w.r.t. GNU-style designator in structure declaration X-Git-Tag: ppp-2.5.0~56^2~13 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=0e61311293f1ee0335dde468606172d21a56585d;ds=sidebyside Fixing CLang warnings w.r.t. GNU-style designator in structure declaration Signed-off-by: Eivind Næss --- diff --git a/pppd/plugins/pppoatm/pppoatm.c b/pppd/plugins/pppoatm/pppoatm.c index dc82508..09cd0b8 100644 --- a/pppd/plugins/pppoatm/pppoatm.c +++ b/pppd/plugins/pppoatm/pppoatm.c @@ -187,15 +187,15 @@ void plugin_init(void) } struct channel pppoa_channel = { - options: pppoa_options, - process_extra_options: NULL, - check_options: NULL, - connect: &connect_pppoatm, - disconnect: &disconnect_pppoatm, - establish_ppp: &generic_establish_ppp, - disestablish_ppp: &generic_disestablish_ppp, - send_config: NULL, - recv_config: NULL, - close: NULL, - cleanup: NULL + .options = pppoa_options, + .process_extra_options = NULL, + .check_options = NULL, + .connect = &connect_pppoatm, + .disconnect = &disconnect_pppoatm, + .establish_ppp = &generic_establish_ppp, + .disestablish_ppp = &generic_disestablish_ppp, + .send_config = NULL, + .recv_config = NULL, + .close = NULL, + .cleanup = NULL };