Fix for compilation in debug builds.
Ensure internal methods are declared as static since debug builds don't inline.
This commit is contained in:
committed by
Marcelo Roberto Jimenez
parent
92b241b560
commit
7137f6e261
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user