diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-10-06 23:21:02 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-10-06 23:21:02 +0000 |
commit | eaa1b73fcf26a8b69d26ed63c4d7e04c4d60538b (patch) | |
tree | d8477fc558532184a60623f17a7e9a20e5e2a093 /include/asterisk/threadstorage.h | |
parent | 4560279c696e1dbab0b3b712f3dad432b5766aa7 (diff) |
Update documentation; AST_THREADSTORAGE() in trunk only takes a single
argument.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146928 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/threadstorage.h')
-rw-r--r-- | include/asterisk/threadstorage.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/asterisk/threadstorage.h b/include/asterisk/threadstorage.h index 633c7e7c3..cf6d47e32 100644 --- a/include/asterisk/threadstorage.h +++ b/include/asterisk/threadstorage.h @@ -139,8 +139,7 @@ static void __init_##name(void) \ * * \param ts This is a pointer to the thread storage structure declared by using * the AST_THREADSTORAGE macro. If declared with - * AST_THREADSTORAGE(my_buf, my_buf_init), then this argument would be - * (&my_buf). + * AST_THREADSTORAGE(my_buf), then this argument would be (&my_buf). * \param init_size This is the amount of space to be allocated the first time * this thread requests its data. Thus, this should be the size that the * code accessing this thread storage is assuming the size to be. @@ -151,7 +150,7 @@ static void __init_##name(void) \ * * Example usage: * \code - * AST_THREADSTORAGE(my_buf, my_buf_init); + * AST_THREADSTORAGE(my_buf); * #define MY_BUF_SIZE 128 * ... * void my_func(const char *fmt, ...) |