#include <zebra.h>
#include "monotime.h"
-#include "event.h"
+#include "frrevent.h"
#include "memory.h"
#include "hash.h"
#include "linklist.h"
/* Worker for SPF calculation scheduler. */
static void ospf_spf_calculate_schedule_worker(struct event *thread)
{
- struct ospf *ospf = THREAD_ARG(thread);
+ struct ospf *ospf = EVENT_ARG(thread);
struct route_table *new_table, *new_rtrs;
struct route_table *all_rtrs = NULL;
struct timeval start_time, spf_start_time;