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

dbd & dso: ensure functions are declared correctly according to C spec #51

Closed
wants to merge 1 commit into from

Conversation

igalic
Copy link

@igalic igalic commented Dec 5, 2023

apr_dbd_mutex_lock/unlock() and apr_status_t apu_dso_mutex_lock/unlock() functions were declared without a (void). This causes warnings like:

dbd/apr_dbd.c:50:45: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]

Fix this.

PR: https://bz.apache.org/bugzilla/show_bug.cgi?id=68292

apr_dbd_mutex_lock/unlock() and apr_status_t apu_dso_mutex_lock/unlock() functions were declared without a (void).
This causes warnings like:

> dbd/apr_dbd.c:50:45: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]

Fix this.
@ylavic
Copy link
Member

ylavic commented Dec 5, 2023

Thanks, now in r1914368 (bd6e072)

@igalic igalic deleted the fix/void-decl branch December 5, 2023 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants