summaryrefslogtreecommitdiffstats
path: root/examples/rtnl/rtnl-route-dump.c
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 /examples/rtnl/rtnl-route-dump.c
parent26f5e5eecaea765932f67f5f0aeb65f4c8b7be12 (diff)
src: avoid using deprecated unspecified argument lists
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'examples/rtnl/rtnl-route-dump.c')
-rw-r--r--examples/rtnl/rtnl-route-dump.c2
1 files changed, 1 insertions, 1 deletions
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];