]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Insert/remove hooks return void, not int.
authorMartin Mares <mj@ucw.cz>
Tue, 20 Oct 1998 15:17:38 +0000 (15:17 +0000)
committerMartin Mares <mj@ucw.cz>
Tue, 20 Oct 1998 15:17:38 +0000 (15:17 +0000)
nest/protocol.h

index f138d865fe2e186e30ac67ae00fefdf538b57559..d94e02d3adfc79c88002830d1b4e753d589d516f 100644 (file)
@@ -70,8 +70,8 @@ struct proto {
 
   int (*rta_same)(struct rtattr *, struct rtattr *);
   int (*rte_better)(struct rte *, struct rte *);
-  int (*rte_insert)(struct network *, struct rte *);
-  int (*rte_remove)(struct network *, struct rte *);
+  void (*rte_insert)(struct network *, struct rte *);
+  void (*rte_remove)(struct network *, struct rte *);
 
   /* Reconfigure function? */
   /* Interface patterns */