Remove PrintThreadPoolStats() from the public API.
This function uses a ThreadPool object as an argument, which is not
supposed to be exported. Also, debug compilation was broken.
(cherry picked from commit 32e510b45a)
This commit is contained in:
@@ -283,33 +283,6 @@ static UPNP_INLINE void UpnpDisplayBanner(FILE *fd, const char **lines,
|
||||
}
|
||||
#endif
|
||||
|
||||
/*!
|
||||
* \brief Prints thread pool statistics.
|
||||
*/
|
||||
#ifdef DEBUG
|
||||
void PrintThreadPoolStats(
|
||||
/*! [in] The thread pool. */
|
||||
ThreadPool * tp,
|
||||
/*! [in] The file name that called this function, use the macro
|
||||
* __FILE__. */
|
||||
const char *DbgFileName,
|
||||
/*! [in] The line number that the function was called, use the macro
|
||||
* __LINE__. */
|
||||
int DbgLineNo,
|
||||
/*! [in] The message. */
|
||||
const char *msg);
|
||||
#else
|
||||
static UPNP_INLINE void PrintThreadPoolStats(ThreadPool *tp,
|
||||
const char *DbgFileName, int DbgLineNo, const char *msg)
|
||||
{
|
||||
return;
|
||||
tp = tp;
|
||||
DbgFileName = DbgFileName;
|
||||
DbgLineNo = DbgLineNo;
|
||||
msg = msg;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*@}*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user