From: Daniel Lenski Date: Wed, 20 May 2020 22:07:10 +0000 (-0700) Subject: no C99 declarations X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=002167de9bfde7234bca36a3e5ac209d402ef17b;p=users%2Fdwmw2%2Fopenconnect.git no C99 declarations Signed-off-by: Daniel Lenski --- diff --git a/ppp.c b/ppp.c index 1ec8a16b..a6ff38d1 100644 --- a/ppp.c +++ b/ppp.c @@ -504,7 +504,7 @@ static int queue_config_request(struct openconnect_info *vpninfo, int proto) { struct oc_ppp *ppp = vpninfo->ppp; const uint32_t zero = 0; - int ret, id; + int ret, id, b; struct oc_ncp *ncp; struct oc_text_buf *buf; @@ -552,7 +552,7 @@ static int queue_config_request(struct openconnect_info *vpninfo, int proto) buf_append_ppp_tlv(buf, IPCP_IPADDR, 4, &ppp->out_ipv4_addr.s_addr); /* XX: See ppp.h for why bitfields work here */ - for (int b=0; b<4; b++) + for (b=0; b<4; b++) if (ppp->solicit_peerns & (1<