diff options
author | Martin Mares <mj@ucw.cz> | 1998-10-20 17:17:38 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1998-10-20 17:17:38 +0200 |
commit | acc62f5e1d4a100ec0be5c73e928a041aa9a4f9d (patch) | |
tree | ddf50d5cfb7604c4f8f75500d469c9e6a6e5b831 | |
parent | a0762910a62085d875b5bf5e1494c4fdde6f603f (diff) | |
download | bird-acc62f5e1d4a100ec0be5c73e928a041aa9a4f9d.tar bird-acc62f5e1d4a100ec0be5c73e928a041aa9a4f9d.zip |
Insert/remove hooks return void, not int.
-rw-r--r-- | nest/protocol.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/protocol.h b/nest/protocol.h index f138d86..d94e02d 100644 --- a/nest/protocol.h +++ b/nest/protocol.h @@ -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 */ |