diff --git a/ChangeLog b/ChangeLog index ded8000..12f4449 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,11 @@ Version 1.6.7 ******************************************************************************* +2010-09-10 Chandra Penke + Fix for compilation in debug builds. + + Ensure internal methods are declared as static since debug builds don't inline. + 2010-09-09 Chandra Penke Fix for regression in SSDP code to send/receive messages over UDP diff --git a/upnp/src/genlib/net/http/webserver.c b/upnp/src/genlib/net/http/webserver.c index 56e69bf..1390651 100644 --- a/upnp/src/genlib/net/http/webserver.c +++ b/upnp/src/genlib/net/http/webserver.c @@ -307,9 +307,10 @@ search_extension( IN const char *extension, * 0 - On Sucess * UPNP_E_OUTOF_MEMORY - on memory allocation failures ************************************************************************/ -UPNP_INLINE int -get_content_type( IN const char *filename, - OUT DOMString * content_type ) +static UPNP_INLINE int +get_content_type( + IN const char *filename, + OUT DOMString *content_type) { const char *extension; const char *type;