All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] conntrack-mms / gcc4 fix.
       [not found] ` <4271707A.5060603@trash.net>
@ 2005-05-03  7:22   ` Pawel Sikora
  2005-05-03 18:01     ` Patrick McHardy
  0 siblings, 1 reply; 2+ messages in thread
From: Pawel Sikora @ 2005-05-03  7:22 UTC (permalink / raw)
  To: Patrick McHardy, netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 546 bytes --]

Hi All,

During build with gcc4 I get:

  CC [M]  net/ipv4/netfilter/ip_conntrack_mms.o
          net/ipv4/netfilter/ip_conntrack_mms.c:55:
  error: static declaration of 'ip_nat_mms_hook'
  follows non-static declaration
  include/linux/netfilter_ipv4/ip_conntrack_mms.h:37:
  error: previous declaration of 'ip_nat_mms_hook' was here

Attached patch fixes it and should be applied.

Regards,
Pawel.

-- 
The only thing necessary for the triumph of evil
  is for good men to do nothing.
                                           - Edmund Burke

[-- Attachment #2: mms_conntrack-gcc4.patch --]
[-- Type: text/x-diff, Size: 703 bytes --]

--- mms-conntrack-nat/linux-2.6.11/net/ipv4/netfilter/ip_conntrack_mms.c	(revision 3889)
+++ mms-conntrack-nat/linux-2.6.11/net/ipv4/netfilter/ip_conntrack_mms.c	(working copy)
@@ -49,10 +49,10 @@
 static char mms_buffer[65536];
 static DECLARE_LOCK(mms_buffer_lock);
 
-static unsigned int (*ip_nat_mms_hook)(struct sk_buff **pskb,
-				       enum ip_conntrack_info ctinfo,
-				       const struct ip_ct_mms_expect *exp_mms_info,
-				       struct ip_conntrack_expect *exp);
+unsigned int (*ip_nat_mms_hook)(struct sk_buff **pskb,
+				enum ip_conntrack_info ctinfo,
+				const struct ip_ct_mms_expect *exp_mms_info,
+				struct ip_conntrack_expect *exp);
 EXPORT_SYMBOL(ip_nat_mms_hook);
 
 #if 0 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] conntrack-mms / gcc4 fix.
  2005-05-03  7:22   ` [PATCH] conntrack-mms / gcc4 fix Pawel Sikora
@ 2005-05-03 18:01     ` Patrick McHardy
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2005-05-03 18:01 UTC (permalink / raw)
  To: Pawel Sikora; +Cc: netfilter-devel

Pawel Sikora wrote:
> Hi All,
> 
> During build with gcc4 I get:
> 
>   CC [M]  net/ipv4/netfilter/ip_conntrack_mms.o
>           net/ipv4/netfilter/ip_conntrack_mms.c:55:
>   error: static declaration of 'ip_nat_mms_hook'
>   follows non-static declaration
>   include/linux/netfilter_ipv4/ip_conntrack_mms.h:37:
>   error: previous declaration of 'ip_nat_mms_hook' was here
> 
> Attached patch fixes it and should be applied.

Done, thanks Pawel.

Regards
Patrick

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-03 18:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200504282149.08554.pluto@pld-linux.org>
     [not found] ` <4271707A.5060603@trash.net>
2005-05-03  7:22   ` [PATCH] conntrack-mms / gcc4 fix Pawel Sikora
2005-05-03 18:01     ` Patrick McHardy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.