summaryrefslogtreecommitdiff
path: root/multimedia/mediatomb/patches/patch-tombupnp_upnp_src_genlib_net_http_webserver.c
blob: fa31e1299af511d157932e998c487f13d236780b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-tombupnp_upnp_src_genlib_net_http_webserver.c,v 1.2 2012/09/25 11:45:11 ryoon Exp $

Fix building with Clang.

--- tombupnp/upnp/src/genlib/net/http/webserver.c.orig	2010-03-25 14:58:12.000000000 +0000
+++ tombupnp/upnp/src/genlib/net/http/webserver.c
@@ -310,7 +310,7 @@ search_extension( IN const char *extensi
 *	 0 - On Sucess														
 *	 UPNP_E_OUTOF_MEMORY - on memory allocation failures				
 ************************************************************************/
-XINLINE int
+int
 get_content_type( IN const char *filename,
                   OUT DOMString * content_type )
 {