From 1f8ae70b7b86d132b95a18f0c824deb248987afc Mon Sep 17 00:00:00 2001 From: paul Date: Fri, 9 Sep 2005 23:49:49 +0000 Subject: 2005-09-10 Paul Jakma * bgp_vty.c: (bgp_vty_init) gcc 4 compile fix. static function declarations shouldn't be inside functions. * bgp_dump.c: (bgp_dump_interval_add) ditto. --- bgpd/bgp_dump.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bgpd/bgp_dump.c') diff --git a/bgpd/bgp_dump.c b/bgpd/bgp_dump.c index f5bb5f44..c350e83a 100644 --- a/bgpd/bgp_dump.c +++ b/bgpd/bgp_dump.c @@ -56,6 +56,8 @@ enum MRT_MSG_TYPES { MSG_TABLE_DUMP /* routing table dump */ }; +static int bgp_dump_interval_func (struct thread *); + struct bgp_dump { enum bgp_dump_type type; @@ -134,7 +136,6 @@ bgp_dump_open_file (struct bgp_dump *bgp_dump) static int bgp_dump_interval_add (struct bgp_dump *bgp_dump, int interval) { - static int bgp_dump_interval_func (struct thread *t); int interval2, secs_into_day; time_t t; struct tm *tm; -- cgit v1.2.3