inside of a function. (Yes, it would!) Replace it with a note that explains
why it can't be done using the way that the AST_THREADSTORAGE macro is
currently defined.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77790
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
return n < 0 ? -1 : 0;
}
-/* XXX see if it can be moved inside the function */
+/*!
+ * \brief thread local buffer for astman_append
+ *
+ * \note This can not be defined within the astman_append() function
+ * because it declares a couple of functions that get used to
+ * initialize the thread local storage key.
+ */
AST_THREADSTORAGE(astman_append_buf);
+/*! \brief initial allocated size for the astman_append_buf */
#define ASTMAN_APPEND_BUF_INITSIZE 256
/*!