Revision 370426 introduced the use of a nested function in tests/test_acl.c,
but the lack of the 'auto' scope specifier on the function and a forward
declaration resulted in compilation errors on the automated test systems.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@370453
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
int err = 0;
int i;
- int build_ha(const struct acl *acl, size_t len, struct ast_ha **ha, const char *acl_name) {
+ auto int build_ha(const struct acl *acl, size_t len, struct ast_ha **ha, const char *acl_name);
+ auto int build_ha(const struct acl *acl, size_t len, struct ast_ha **ha, const char *acl_name) {
size_t i;
for (i = 0; i < len; ++i) {