]> git.puffer.fish Git - mirror/frr.git/commitdiff
2005-09-10 Paul Jakma <paul.jakma@sun.com>
authorpaul <paul>
Fri, 9 Sep 2005 23:49:49 +0000 (23:49 +0000)
committerpaul <paul>
Fri, 9 Sep 2005 23:49:49 +0000 (23:49 +0000)
* 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/ChangeLog
bgpd/bgp_dump.c
bgpd/bgp_vty.c

index 29d0fb0ef2554c8ffd219e11381685f57937f76c..94eb596feb061fffabe17642f18f71be0a03028d 100644 (file)
@@ -1,3 +1,9 @@
+2005-09-10 Paul Jakma <paul.jakma@sun.com>
+
+       * 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.
+       
 2005-08-26 Hasso Tepper <hasso at quagga.net>
 
        * bgp_route.c: Third (?) attempt to fix best selection breakage
index f5bb5f44fca0018cce2563f15485d004a7e1d5e7..c350e83a6542e67b8f72d684bea1c4e2a3d04425 100644 (file)
@@ -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;
index e3642066f8c64926e3f4f12575d2b57de10f10ac..685ea28e6ced50cf31435bcc66e8228780036be9 100644 (file)
@@ -8583,11 +8583,11 @@ struct cmd_node bgp_vpnv4_node =
   1
 };
 \f
+static void community_list_vty (void);
+
 void
 bgp_vty_init (void)
 {
-  static void community_list_vty (void);
-
   /* Install bgp top node. */
   install_node (&bgp_node, bgp_config_write);
   install_node (&bgp_ipv4_unicast_node, NULL);