From acc62f5e1d4a100ec0be5c73e928a041aa9a4f9d Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 20 Oct 1998 15:17:38 +0000 Subject: Insert/remove hooks return void, not int. --- nest/protocol.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nest') 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 */ -- cgit v1.2.3