aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-06 23:22:55 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-06 23:22:55 +0000
commitb1119e932b1972852051c79a8d1b990d38cf6263 (patch)
tree46e20221106643655d038d1790753064036d43aa /include
parent8f3c2b68abd31949acc7e41fcefadee89aa0f488 (diff)
Merged revisions 146928 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r146928 | tilghman | 2008-10-06 18:21:02 -0500 (Mon, 06 Oct 2008) | 3 lines Update documentation; AST_THREADSTORAGE() in trunk only takes a single argument. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@146930 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/threadstorage.h5
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, ...)