Skip to content
Snippets Groups Projects
Commit 6cfafdeb authored by George Joseph's avatar George Joseph
Browse files

app.h: Move declaration of ast_getdata_result before its first use

The ast_app_getdata() and ast_app_getdata_terminator() declarations
in app.h were changed recently to return enum ast_getdata_result
(which is how they were defined in app.c).  The existing
declaration of ast_getdata_result in app.h was about 1000 lines
after those functions however so under certain circumstances,
a "use before declaration" error was thrown by the compiler.
The declaration of the enum was therefore moved to before those
functions.

Resolves: #200
parent 9b3abda5
Branches
Tags
1 merge request!193Merge tag '20.8.1' into 'merge-asterisk-20.8.1'
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment