Fix for compilation in debug builds.

Ensure internal methods are declared as static since debug builds don't inline.
This commit is contained in:
Chandra Penke 2010-09-09 17:04:25 -07:00 committed by Marcelo Roberto Jimenez
parent 92b241b560
commit 7137f6e261
2 changed files with 9 additions and 3 deletions

View File

@ -2,6 +2,11 @@
Version 1.6.7 Version 1.6.7
******************************************************************************* *******************************************************************************
2010-09-10 Chandra Penke <chandrapenke(at)mcntech.com>
Fix for compilation in debug builds.
Ensure internal methods are declared as static since debug builds don't inline.
2010-09-09 Chandra Penke <chandrapenke(at)mcntech.com> 2010-09-09 Chandra Penke <chandrapenke(at)mcntech.com>
Fix for regression in SSDP code to send/receive messages over UDP Fix for regression in SSDP code to send/receive messages over UDP

View File

@ -307,9 +307,10 @@ search_extension( IN const char *extension,
* 0 - On Sucess * 0 - On Sucess
* UPNP_E_OUTOF_MEMORY - on memory allocation failures * UPNP_E_OUTOF_MEMORY - on memory allocation failures
************************************************************************/ ************************************************************************/
UPNP_INLINE int static UPNP_INLINE int
get_content_type( IN const char *filename, get_content_type(
OUT DOMString * content_type ) IN const char *filename,
OUT DOMString *content_type)
{ {
const char *extension; const char *extension;
const char *type; const char *type;