From db09424d436bd5ee86fb47685ff83c2d8f70c0cd Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 8 Sep 2008 06:45:43 +0000 Subject: Add missing initializers. --- cpukit/pppd/ccp.c | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'cpukit/pppd/ccp.c') diff --git a/cpukit/pppd/ccp.c b/cpukit/pppd/ccp.c index 0958281217..5f27c34d57 100644 --- a/cpukit/pppd/ccp.c +++ b/cpukit/pppd/ccp.c @@ -45,38 +45,39 @@ static int setdeflate(char **); static option_t ccp_option_list[] = { { "noccp", o_bool, &ccp_protent.enabled_flag, - "Disable CCP negotiation" }, + "Disable CCP negotiation", 0, NULL, 0, 0 }, { "-ccp", o_bool, &ccp_protent.enabled_flag, - "Disable CCP negotiation" }, + "Disable CCP negotiation", 0, NULL, 0, 0 }, { "bsdcomp", o_special, setbsdcomp, - "Request BSD-Compress packet compression" }, + "Request BSD-Compress packet compression", 0, NULL, 0, 0 }, { "nobsdcomp", o_bool, &ccp_wantoptions[0].bsd_compress, "don't allow BSD-Compress", OPT_A2COPY, - &ccp_allowoptions[0].bsd_compress }, + &ccp_allowoptions[0].bsd_compress, 0, 0 }, { "-bsdcomp", o_bool, &ccp_wantoptions[0].bsd_compress, "don't allow BSD-Compress", OPT_A2COPY, - &ccp_allowoptions[0].bsd_compress }, + &ccp_allowoptions[0].bsd_compress, 0, 0 }, { "deflate", 1, setdeflate, - "request Deflate compression" }, + "request Deflate compression", 0, NULL, 0, 0 }, { "nodeflate", o_bool, &ccp_wantoptions[0].deflate, "don't allow Deflate compression", OPT_A2COPY, - &ccp_allowoptions[0].deflate }, + &ccp_allowoptions[0].deflate, 0, 0 }, { "-deflate", o_bool, &ccp_wantoptions[0].deflate, "don't allow Deflate compression", OPT_A2COPY, - &ccp_allowoptions[0].deflate }, + &ccp_allowoptions[0].deflate, 0, 0 }, { "nodeflatedraft", o_bool, &ccp_wantoptions[0].deflate_draft, "don't use draft deflate #", OPT_A2COPY, - &ccp_allowoptions[0].deflate_draft }, + &ccp_allowoptions[0].deflate_draft, 0, 0 }, { "predictor1", o_bool, &ccp_wantoptions[0].predictor_1, - "request Predictor-1", 1, &ccp_allowoptions[0].predictor_1 }, + "request Predictor-1", 1, + &ccp_allowoptions[0].predictor_1, 0, 0 }, { "nopredictor1", o_bool, &ccp_wantoptions[0].predictor_1, "don't allow Predictor-1", OPT_A2COPY, - &ccp_allowoptions[0].predictor_1 }, + &ccp_allowoptions[0].predictor_1, 0, 0 }, { "-predictor1", o_bool, &ccp_wantoptions[0].predictor_1, "don't allow Predictor-1", OPT_A2COPY, - &ccp_allowoptions[0].predictor_1 }, + &ccp_allowoptions[0].predictor_1, 0, 0 }, - { NULL } + { NULL, 0, NULL, NULL, 0, NULL, 0, 0 } }; /* -- cgit v1.2.3