Skip to content
Snippets Groups Projects
Commit 0be8d5c6 authored by Matthew Jordan's avatar Matthew Jordan
Browse files

Modify hashtest2 to compile after r374213. Someone, somewhere, may care.

Because hashtest2 has to provide symbols for things in asterisk that items
it includes may use, when astobj2 decided to use ast_register_atexit it needed
to provide a declaration for that as well.  Otherwise - no linky.

On a related note, ASTERISK-20505 was filed to convert hashtest/hashtest2 into
actual unit tests, so we don't run into this problem again.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@374229 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent ed3acdeb
No related branches found
No related tags found
No related merge requests found
......@@ -357,6 +357,12 @@ void ast_unregister_file_version(const char *file)
}
int ast_register_atexit(void (*func)(void));
int ast_register_atexit(void (*func)(void))
{
return 0;
}
void ast_log(int level, const char *file, int line, const char *function, const char *fmt, ...)
{
va_list vars;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment