summaryrefslogtreecommitdiff
path: root/bgpd/bgp_filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_filter.c')
-rw-r--r--bgpd/bgp_filter.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/bgpd/bgp_filter.c b/bgpd/bgp_filter.c
index eb4ff8ea..89e48bf8 100644
--- a/bgpd/bgp_filter.c
+++ b/bgpd/bgp_filter.c
@@ -47,10 +47,10 @@ struct as_list_master
struct as_list_list str;
/* Hook function which is executed when new access_list is added. */
- void (*add_hook) ();
+ void (*add_hook) (void);
/* Hook function which is executed when access_list is deleted. */
- void (*delete_hook) ();
+ void (*delete_hook) (void);
};
/* Element of AS path filter. */
@@ -97,7 +97,7 @@ static struct as_list_master as_list_master =
/* Allocate new AS filter. */
static struct as_filter *
-as_filter_new ()
+as_filter_new (void)
{
return XCALLOC (MTYPE_AS_FILTER, sizeof (struct as_filter));
}
@@ -173,7 +173,7 @@ as_list_lookup (const char *name)
}
static struct as_list *
-as_list_new ()
+as_list_new (void)
{
return XCALLOC (MTYPE_AS_LIST, sizeof (struct as_list));
}
@@ -395,14 +395,14 @@ as_list_apply (struct as_list *aslist, void *object)
/* Add hook function. */
void
-as_list_add_hook (void (*func) ())
+as_list_add_hook (void (*func) (void))
{
as_list_master.add_hook = func;
}
/* Delete hook function. */
void
-as_list_delete_hook (void (*func) ())
+as_list_delete_hook (void (*func) (void))
{
as_list_master.delete_hook = func;
}