From: Patrick McHardy <kaber@trash.net>
Date: Wed, 22 Mar 2006 21:57:25 +0000 (-0800)
Subject: [NETFILTER]: Fix undefined references to get_h225_addr
X-Git-Tag: v2.6.17-rc1~1120^2~1
X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6a534ee35cfd02f60e99d301b9ac446ea11a9cfd;p=linux-2.6-omap-h63xx.git

[NETFILTER]: Fix undefined references to get_h225_addr

get_h225_addr is exported, but declared static, which fails when
linking statically.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
---

diff --git a/net/ipv4/netfilter/ip_conntrack_helper_h323.c b/net/ipv4/netfilter/ip_conntrack_helper_h323.c
index 20da6730b86..daeb1395faa 100644
--- a/net/ipv4/netfilter/ip_conntrack_helper_h323.c
+++ b/net/ipv4/netfilter/ip_conntrack_helper_h323.c
@@ -639,8 +639,8 @@ void ip_conntrack_h245_expect(struct ip_conntrack *new,
 }
 
 /****************************************************************************/
-static int get_h225_addr(unsigned char *data, TransportAddress * addr,
-			 u_int32_t * ip, u_int16_t * port)
+int get_h225_addr(unsigned char *data, TransportAddress * addr,
+		  u_int32_t * ip, u_int16_t * port)
 {
 	unsigned char *p;