Skip to content

app_dial, utils.h: Avoid old style declaration and discarded qualifier.#1756

Open
InterLinked1 wants to merge 1 commit intoasterisk:masterfrom
InterLinked1:master-issue-1755
Open

app_dial, utils.h: Avoid old style declaration and discarded qualifier.#1756
InterLinked1 wants to merge 1 commit intoasterisk:masterfrom
InterLinked1:master-issue-1755

Conversation

@InterLinked1
Copy link
Contributor

  • app_dial: Use const char* for fixed strings.
  • utils.h: inline should come before return type.

Resolves: #1755

* app_dial: Use const char* for fixed strings.
* utils.h: inline should come before return type.

Resolves: asterisk#1755
@InterLinked1
Copy link
Contributor Author

cherry-pick-to: 23
cherry-pick-to: 22
cherry-pick-to: 20

@github-actions
Copy link

github-actions bot commented Feb 4, 2026

Workflow PRCheck failed
master-pjs1: FAILED TEST: channels/pjsip/geolocation/incoming/basic
master-pjs1: FAILED TEST: channels/pjsip/geolocation/incoming/profile_precedence
master-pjs1: FAILED TEST: channels/pjsip/message/message_redirect
master-pjs1: FAILED TEST: channels/pjsip/message/message_redirect_multiple
master-pjs2: FAILED TEST: channels/pjsip/dialplan_functions/pjsip_header

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug]: app_dial, utils.h: Compilation failure with -Wold-style-declaration and -Wdiscarded-qualifiers

1 participant