]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Use BIRD's ASSERT instead of assert.h
authorOndrej Filip <feela@network.cz>
Fri, 22 Feb 2013 06:15:27 +0000 (07:15 +0100)
committerOndrej Filip <feela@network.cz>
Fri, 22 Feb 2013 06:15:27 +0000 (07:15 +0100)
proto/rip/rip.c

index 4b303305e531a1c09867438e46141e6d23e75eab..35a151ad7c2868b35b3b0d84606c0e2169f1301f 100644 (file)
@@ -59,7 +59,6 @@
 #include "lib/string.h"
 
 #include "rip.h"
-#include <assert.h>
 
 #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;