]> granicus.if.org Git - libevent/commit
C90 doesn't like declarations intermingled with statements
authorPhilip Prindeville <philipp@redfish-solutions.com>
Sat, 12 Nov 2016 00:51:37 +0000 (17:51 -0700)
committerAzat Khuzhin <a3at.mail@gmail.com>
Tue, 6 Dec 2016 06:56:28 +0000 (09:56 +0300)
commit6bf2061c4bce52a802311d21540846d51d4bac35
tree2c67b374616b8b6f1e28ee29df6d913d7d4bdd34
parentca591c5b1b8c4506c258a96e1fd5d8dafdb6234f
C90 doesn't like declarations intermingled with statements

So move all of the declarations to the top of the offending function.

This patch includes both of issues (Fixes:), from @jeking3 and
@pprindeville

Fixes: #418
Fixes: nmathewson/Libevent#136
bufferevent_openssl.c
test/bench_httpclient.c