mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Fix two 'old-style-definition' compile warning (#2807)
Fix compile warnings in ext/puma_http11/mini_ssl.c and ext/puma_http11/puma_http11.c.
This commit is contained in:
parent
930e5b422d
commit
d20915d6f2
2 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ const rb_data_type_t engine_data_type = {
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifndef HAVE_SSL_GET1_PEER_CERTIFICATE
|
#ifndef HAVE_SSL_GET1_PEER_CERTIFICATE
|
||||||
DH *get_dh2048() {
|
DH *get_dh2048(void) {
|
||||||
/* `openssl dhparam -C 2048`
|
/* `openssl dhparam -C 2048`
|
||||||
* -----BEGIN DH PARAMETERS-----
|
* -----BEGIN DH PARAMETERS-----
|
||||||
* MIIBCAKCAQEAjmh1uQHdTfxOyxEbKAV30fUfzqMDF/ChPzjfyzl2jcrqQMhrk76o
|
* MIIBCAKCAQEAjmh1uQHdTfxOyxEbKAV30fUfzqMDF/ChPzjfyzl2jcrqQMhrk76o
|
||||||
|
|
|
@ -451,7 +451,7 @@ VALUE HttpParser_body(VALUE self) {
|
||||||
void Init_mini_ssl(VALUE mod);
|
void Init_mini_ssl(VALUE mod);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void Init_puma_http11()
|
void Init_puma_http11(void)
|
||||||
{
|
{
|
||||||
|
|
||||||
VALUE mPuma = rb_define_module("Puma");
|
VALUE mPuma = rb_define_module("Puma");
|
||||||
|
|
Loading…
Reference in a new issue