From 15fb28c6226463363c5691b078c003ff499bfa97 Mon Sep 17 00:00:00 2001 From: Chandra Penke Date: Thu, 9 Sep 2010 17:04:25 -0700 Subject: [PATCH] Fix for compilation in debug builds. Ensure internal methods are declared as static since debug builds don't inline. --- ChangeLog | 5 +++++ upnp/src/genlib/net/http/webserver.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ab01505..f02f5be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -216,6 +216,11 @@ Version 1.8.0 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 eab7e98..6b3d0d7 100644 --- a/upnp/src/genlib/net/http/webserver.c +++ b/upnp/src/genlib/net/http/webserver.c @@ -308,7 +308,7 @@ search_extension( IN const char *extension, * 0 - On Sucess * UPNP_E_OUTOF_MEMORY - on memory allocation failures ************************************************************************/ -UPNP_INLINE int +static UPNP_INLINE int get_content_type( IN const char *filename, OUT UpnpFileInfo *fileInfo)