summaryrefslogtreecommitdiff
path: root/zebra
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-02-09 10:14:16 -0800
committerPaul Jakma <paul@quagga.net>2009-06-12 17:09:03 +0100
commit66e5cd87194ae6fdd51061a91b4698bc0a652f6b (patch)
tree659d31f9a7dfb8d9ad9a51f37ff0853054a45399 /zebra
parentcedd7f2fa6823bca9ddcfb062f97ed83b11a80dd (diff)
[cleanup] functions taking no args should be declared with void args
Use Ansi-C prototypes rather than old K&R method of declaring function without arguments
Diffstat (limited to 'zebra')
-rw-r--r--zebra/rtadv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/rtadv.c b/zebra/rtadv.c
index e1fd0dc8..dd2be812 100644
--- a/zebra/rtadv.c
+++ b/zebra/rtadv.c
@@ -524,7 +524,7 @@ rtadv_make_socket (void)
}
static struct rtadv_prefix *
-rtadv_prefix_new ()
+rtadv_prefix_new (void)
{
return XCALLOC (MTYPE_RTADV_PREFIX, sizeof (struct rtadv_prefix));
}