From: Ondrej Filip Date: Fri, 22 Feb 2013 06:15:27 +0000 (+0100) Subject: Use BIRD's ASSERT instead of assert.h X-Git-Tag: v1.3.10~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04ddefb357b2b8759be16633f7bb1df49b0405ea;p=thirdparty%2Fbird.git Use BIRD's ASSERT instead of assert.h --- diff --git a/proto/rip/rip.c b/proto/rip/rip.c index 4b303305e..35a151ad7 100644 --- a/proto/rip/rip.c +++ b/proto/rip/rip.c @@ -59,7 +59,6 @@ #include "lib/string.h" #include "rip.h" -#include #define P ((struct rip_proto *) p) #define P_CF ((struct rip_proto_config *)p->cf) @@ -583,9 +582,9 @@ rip_start(struct proto *p) struct rip_interface *rif; DBG( "RIP: starting instance...\n" ); - assert( sizeof(struct rip_packet_heading) == 4); - assert( sizeof(struct rip_block) == 20); - assert( sizeof(struct rip_block_auth) == 20); + ASSERT(sizeof(struct rip_packet_heading) == 4); + ASSERT(sizeof(struct rip_block) == 20); + ASSERT(sizeof(struct rip_block_auth) == 20); #ifdef LOCAL_DEBUG P->magic = RIP_MAGIC;