diff options
author | Russell Bryant <russell@russellbryant.com> | 2006-07-21 17:31:28 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2006-07-21 17:31:28 +0000 |
commit | ca9ba719b6f4ef598bc3dc71bdee05d11d0c7687 (patch) | |
tree | 9a03027276c525f44c08eb5dc4d7b9035fa697c9 /include/asterisk/utils.h | |
parent | 1861dcdff5666cbac27288f7bdfdf40104d29d4d (diff) |
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
Diffstat (limited to 'include/asterisk/utils.h')
-rw-r--r-- | include/asterisk/utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/utils.h b/include/asterisk/utils.h index 777de476a..ba1cd5948 100644 --- a/include/asterisk/utils.h +++ b/include/asterisk/utils.h @@ -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 |