summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-10-22 20:46:03 +0200
committerJan Engelhardt <jengelh@medozas.de>2010-10-22 20:46:03 +0200
commit3e74eeac96b011f3929fccd63d7fec20e2759123 (patch)
tree41dcda10854712af5aa6eef1f5598b87de198166
parent26f5e5eecaea765932f67f5f0aeb65f4c8b7be12 (diff)
downloadlibmnl-3e74eeac96b011f3929fccd63d7fec20e2759123.tar.gz
libmnl-3e74eeac96b011f3929fccd63d7fec20e2759123.zip
src: avoid using deprecated unspecified argument lists
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
-rw-r--r--examples/netfilter/nfct-event.c2
-rw-r--r--examples/rtnl/rtnl-link-dump.c2
-rw-r--r--examples/rtnl/rtnl-link-dump2.c2
-rw-r--r--examples/rtnl/rtnl-link-dump3.c2
-rw-r--r--examples/rtnl/rtnl-link-event.c2
-rw-r--r--examples/rtnl/rtnl-route-dump.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/examples/netfilter/nfct-event.c b/examples/netfilter/nfct-event.c
index c713946..3a87071 100644
--- a/examples/netfilter/nfct-event.c
+++ b/examples/netfilter/nfct-event.c
@@ -205,7 +205,7 @@ static int data_cb(const struct nlmsghdr *nlh, void *data)
return MNL_CB_OK;
}
-int main()
+int main(void)
{
struct mnl_socket *nl;
char buf[MNL_SOCKET_BUFFER_SIZE];
diff --git a/examples/rtnl/rtnl-link-dump.c b/examples/rtnl/rtnl-link-dump.c
index d47d32e..76e6c2c 100644
--- a/examples/rtnl/rtnl-link-dump.c
+++ b/examples/rtnl/rtnl-link-dump.c
@@ -66,7 +66,7 @@ static int data_cb(const struct nlmsghdr *nlh, void *data)
return MNL_CB_OK;
}
-int main()
+int main(void)
{
struct mnl_socket *nl;
char buf[MNL_SOCKET_BUFFER_SIZE];
diff --git a/examples/rtnl/rtnl-link-dump2.c b/examples/rtnl/rtnl-link-dump2.c
index 8189e7c..d8da121 100644
--- a/examples/rtnl/rtnl-link-dump2.c
+++ b/examples/rtnl/rtnl-link-dump2.c
@@ -57,7 +57,7 @@ static int data_cb(const struct nlmsghdr *nlh, void *data)
return MNL_CB_OK;
}
-int main()
+int main(void)
{
struct mnl_socket *nl;
char buf[MNL_SOCKET_BUFFER_SIZE];
diff --git a/examples/rtnl/rtnl-link-dump3.c b/examples/rtnl/rtnl-link-dump3.c
index d8cacb4..ccfc8a1 100644
--- a/examples/rtnl/rtnl-link-dump3.c
+++ b/examples/rtnl/rtnl-link-dump3.c
@@ -57,7 +57,7 @@ static int data_cb(const struct nlmsghdr *nlh, void *data)
return MNL_CB_OK;
}
-int main()
+int main(void)
{
struct mnl_socket *nl;
char buf[MNL_SOCKET_BUFFER_SIZE];
diff --git a/examples/rtnl/rtnl-link-event.c b/examples/rtnl/rtnl-link-event.c
index 4aa11ef..83c516c 100644
--- a/examples/rtnl/rtnl-link-event.c
+++ b/examples/rtnl/rtnl-link-event.c
@@ -65,7 +65,7 @@ static int data_cb(const struct nlmsghdr *nlh, void *data)
return MNL_CB_OK;
}
-int main()
+int main(void)
{
struct mnl_socket *nl;
char buf[MNL_SOCKET_BUFFER_SIZE];
diff --git a/examples/rtnl/rtnl-route-dump.c b/examples/rtnl/rtnl-route-dump.c
index 22395c4..7e86017 100644
--- a/examples/rtnl/rtnl-route-dump.c
+++ b/examples/rtnl/rtnl-route-dump.c
@@ -196,7 +196,7 @@ static int data_cb(const struct nlmsghdr *nlh, void *data)
return MNL_CB_OK;
}
-int main()
+int main(void)
{
struct mnl_socket *nl;
char buf[MNL_SOCKET_BUFFER_SIZE];