mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 07:35:18 +00:00
Merge a new implementation of ast_inet_ntoa, our thread safe replacement for
inet_ntoa, which uses thread specific data (aka thread local storage) instead of stack allocatted buffers to store the result. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -216,7 +216,7 @@ static force_inline void ast_slinear_saturated_divide(short *input, short *value
|
||||
|
||||
int test_for_thread_safety(void);
|
||||
|
||||
const char *ast_inet_ntoa(char *buf, int bufsiz, struct in_addr ia);
|
||||
const char *ast_inet_ntoa(struct in_addr ia);
|
||||
|
||||
#ifdef inet_ntoa
|
||||
#undef inet_ntoa
|
||||
|
Reference in New Issue
Block a user