Skip to content

Commit

Permalink
Fix two 'old-style-definition' compile warning
Browse files Browse the repository at this point in the history
  • Loading branch information
MSP-Greg committed Jan 25, 2022
1 parent 930e5b4 commit 8066e64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/puma_http11/mini_ssl.c
Expand Up @@ -50,7 +50,7 @@ const rb_data_type_t engine_data_type = {
};

#ifndef HAVE_SSL_GET1_PEER_CERTIFICATE
DH *get_dh2048() {
DH *get_dh2048(void) {
/* `openssl dhparam -C 2048`
* -----BEGIN DH PARAMETERS-----
* MIIBCAKCAQEAjmh1uQHdTfxOyxEbKAV30fUfzqMDF/ChPzjfyzl2jcrqQMhrk76o
Expand Down
2 changes: 1 addition & 1 deletion ext/puma_http11/puma_http11.c
Expand Up @@ -451,7 +451,7 @@ VALUE HttpParser_body(VALUE self) {
void Init_mini_ssl(VALUE mod);
#endif

void Init_puma_http11()
void Init_puma_http11(void)
{

VALUE mPuma = rb_define_module("Puma");
Expand Down

0 comments on commit 8066e64

Please sign in to comment.