api: use ANSI style function declarations
A message that is not in the archive (sent off-list or not yet received): 20091007123624.5204.92195.stgit@lb64
A message that is not in the archive (sent off-list or not yet received): 20091007123835.5204.7065.stgit@lb64
Quoted 1 line · Hannes Eder
Signed-off-by Hannes Eder <[email protected]>
Applied, thanks.
A message that is not in the archive (sent off-list or not yet received): 20091007123847.5204.3736.stgit@lb64
Pablo Neira Ayuso
maintainerRe: [PATCH 2/4] [LIBNETFILTER_CONNTRACK] make symbols used only in file scope static
Quoted 1 line · Hannes Eder
Signed-off-by Hannes Eder <[email protected]>
Also applied.
A message that is not in the archive (sent off-list or not yet received): 20091007123902.5204.28787.stgit@lb64
Re: [PATCH 3/4] [LIBNETFILTER_CONNTRACK] snprintf: remove duplicate initializer entry
src/conntrack/snprintf.c const char *proto2str[IPPROTO_MAX] = { · line 25
Quoted 11 lines · Hannes Eder
src/conntrack/snprintf.c +0
-1@@ -21,7 +21,6 @@ const char *proto2str[IPPROTO_MAX] = { [IPPROTO_ICMPV6] = "icmpv6", [IPPROTO_SCTP] = "sctp", [IPPROTO_GRE] = "gre", - [IPPROTO_UDPLITE] = "udplite", [IPPROTO_DCCP] = "dccp", };
Applied, thanks!
A message that is not in the archive (sent off-list or not yet received): 20091007123911.5204.10713.stgit@lb64
Pablo Neira Ayuso
maintainerRe: [PATCH 4/4] [LIBNETFILTER_CONNTRACK] api: remove dead code (nfexp_parse_expect)
Quoted 6 lines · Hannes Eder
Signed-off-by Hannes Eder <[email protected]>---
I am not sure about this one, it just popped up after making symbols that are just used in file scope static. This might be a function the you would like to export, so a proper fix would be adding it to the header file.
Oh, I see. I think that we also need to export nfexp_build* functions to provide an API similar to the conntrack API. Let me think what to do with this. So far, nobody has used them though.