[libnetfilter_conntrack] snprintf: remove duplicate initializer entry
Pablo Neira
netfilter-cvslog-bounces at lists.netfilter.org
Thu Oct 8 18:05:19 CEST 2009
Gitweb: http://git.netfilter.org/cgi-bin/gitweb.cgi?p=libnetfilter_conntrack.git;a=commit;h=fab03af67c659c54043aab13581a19dead5718dd
commit fab03af67c659c54043aab13581a19dead5718dd
Author: Hannes Eder <heder at google.com>
AuthorDate: Thu Oct 8 17:55:44 2009 +0200
Commit: Pablo Neira Ayuso <pablo at netfilter.org>
CommitDate: Thu Oct 8 17:55:44 2009 +0200
snprintf: remove duplicate initializer entry
Signed-off-by: Hannes Eder <heder at google.com>
Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>
commit b9590eab931f5488bfb4c5d0e5d06701db0bd520
Author: Hannes Eder <heder at google.com>
AuthorDate: Thu Oct 8 17:54:24 2009 +0200
Commit: Pablo Neira Ayuso <pablo at netfilter.org>
CommitDate: Thu Oct 8 17:54:24 2009 +0200
src: make symbols used only in file scope static
Signed-off-by: Hannes Eder <heder at google.com>
Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>
commit 8e2cf11655fc7172fb58344883feb0721f499cb6
Author: Hannes Eder <heder at google.com>
AuthorDate: Thu Oct 8 17:51:49 2009 +0200
Commit: Pablo Neira Ayuso <pablo at netfilter.org>
CommitDate: Thu Oct 8 17:51:49 2009 +0200
api: use ANSI style function
Signed-off-by: Hannes Eder <heder at google.com>
Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>
via fab03af67c659c54043aab13581a19dead5718dd (commit)
via b9590eab931f5488bfb4c5d0e5d06701db0bd520 (commit)
via 8e2cf11655fc7172fb58344883feb0721f499cb6 (commit)
from 8fe783ae7d4dba6366a2850a83941df11f8ae9a2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit fab03af67c659c54043aab13581a19dead5718dd
Author: Hannes Eder <heder at google.com>
Date: Thu Oct 8 17:55:44 2009 +0200
snprintf: remove duplicate initializer entry
Signed-off-by: Hannes Eder <heder at google.com>
Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>
commit b9590eab931f5488bfb4c5d0e5d06701db0bd520
Author: Hannes Eder <heder at google.com>
Date: Thu Oct 8 17:54:24 2009 +0200
src: make symbols used only in file scope static
Signed-off-by: Hannes Eder <heder at google.com>
Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>
commit 8e2cf11655fc7172fb58344883feb0721f499cb6
Author: Hannes Eder <heder at google.com>
Date: Thu Oct 8 17:51:49 2009 +0200
api: use ANSI style function
Signed-off-by: Hannes Eder <heder at google.com>
Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>
-----------------------------------------------------------------------
src/conntrack/api.c | 4 +-
src/conntrack/build.c | 92 +++++++++++++++++++-------------------
src/conntrack/objopt.c | 4 +-
src/conntrack/snprintf.c | 1 -
src/conntrack/snprintf_default.c | 58 ++++++++++++-----------
src/expect/api.c | 32 +++++++-------
6 files changed, 96 insertions(+), 95 deletions(-)
Signed-off-by: Hannes Eder <heder at google.com>
Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>
diff --git a/src/conntrack/api.c b/src/conntrack/api.c
index 56a3a8a..41d9c88 100644
--- a/src/conntrack/api.c
+++ b/src/conntrack/api.c
@@ -18,7 +18,7 @@
* In case of success, this function returns a valid pointer to a memory blob,
* otherwise NULL is returned and errno is set appropiately.
*/
-struct nf_conntrack *nfct_new()
+struct nf_conntrack *nfct_new(void)
{
struct nf_conntrack *ct;
@@ -66,7 +66,7 @@ size_t nfct_sizeof(const struct nf_conntrack *ct)
* does although _this could change in the future_. Therefore, do not assume
* that nfct_sizeof(ct) == nfct_maxsize().
*/
-size_t nfct_maxsize()
+size_t nfct_maxsize(void)
{
return sizeof(struct nf_conntrack);
}
diff --git a/src/expect/api.c b/src/expect/api.c
index b532e00..49f6ef1 100644
--- a/src/expect/api.c
+++ b/src/expect/api.c
@@ -18,7 +18,7 @@
* In case of success, this function returns a valid pointer to a memory blob,
* otherwise NULL is returned and errno is set appropiately.
*/
-struct nf_expect *nfexp_new()
+struct nf_expect *nfexp_new(void)
{
struct nf_expect *exp;
@@ -66,7 +66,7 @@ size_t nfexp_sizeof(const struct nf_expect *exp)
* does although _this could change in the future_. Therefore, do not assume
* that nfexp_sizeof(exp) == nfexp_maxsize().
*/
-size_t nfexp_maxsize()
+size_t nfexp_maxsize(void)
{
return sizeof(struct nf_expect);
}
More information about the netfilter-cvslog
mailing list