summaryrefslogtreecommitdiff
path: root/nest/protocol.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-10-20 15:17:38 +0000
committerMartin Mares <mj@ucw.cz>1998-10-20 15:17:38 +0000
commitacc62f5e1d4a100ec0be5c73e928a041aa9a4f9d (patch)
treeddf50d5cfb7604c4f8f75500d469c9e6a6e5b831 /nest/protocol.h
parenta0762910a62085d875b5bf5e1494c4fdde6f603f (diff)
Insert/remove hooks return void, not int.
Diffstat (limited to 'nest/protocol.h')
-rw-r--r--nest/protocol.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/protocol.h b/nest/protocol.h
index f138d865..d94e02d3 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 */