Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix two 'old-style-definition' compile warning #2807

Merged
merged 1 commit into from Jan 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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