From: Denis Ovsienko Date: Sat, 20 Aug 2011 16:58:15 +0000 (+0400) Subject: ospf6d: move named constants to ospf6d.h X-Git-Tag: frr-2.0-rc1~2064 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=ef95122eb214f80700fc79b4a95686eadfea859b;p=mirror%2Ffrr.git ospf6d: move named constants to ospf6d.h --- diff --git a/ospf6d/ospf6_message.c b/ospf6d/ospf6_message.c index 51933b7664..f4df318bdf 100644 --- a/ospf6d/ospf6_message.c +++ b/ospf6d/ospf6_message.c @@ -225,8 +225,6 @@ ospf6_lsack_print (struct ospf6_header *oh) } /* Receive function */ -#define MSG_OK 0 -#define MSG_NG 1 static int ospf6_header_examin (struct in6_addr *src, struct in6_addr *dst, struct ospf6_interface *oi, struct ospf6_header *oh) diff --git a/ospf6d/ospf6d.h b/ospf6d/ospf6d.h index b6f1b7378d..2ac6300e51 100644 --- a/ospf6d/ospf6d.h +++ b/ospf6d/ospf6d.h @@ -49,6 +49,9 @@ extern struct thread_master *master; #endif /* IPV6_DROP_MEMBERSHIP */ #endif /* ! IPV6_LEAVE_GROUP */ +#define MSG_OK 0 +#define MSG_NG 1 + /* cast macro: XXX - these *must* die, ick ick. */ #define OSPF6_PROCESS(x) ((struct ospf6 *) (x)) #define OSPF6_AREA(x) ((struct ospf6_area *) (x))