From 28e87c143d2f72ff94f867b5ae72916288a8cceb Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Fri, 30 Jun 2017 17:34:17 -0400 Subject: [PATCH] minor travis fixes --- src/main/process.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/process.c b/src/main/process.c index f7d064a3b231..f97ef7c4e453 100644 --- a/src/main/process.c +++ b/src/main/process.c @@ -62,13 +62,11 @@ fr_event_list_t *process_global_event_list(UNUSED event_corral_t hint) { return event_list; } -#define rad_panic(_x, ...) radlog_fatal("%s[%u]: " _x, __FILE__, __LINE__, ## __VA_ARGS__) - /* * Delete a request. */ -void request_delete(UNUSED REQUEST *request) +NEVER_RETURNS void request_delete(UNUSED REQUEST *request) { rad_assert(0 == 1); } @@ -211,6 +209,8 @@ void radius_update_listener(rad_listen_t *this) * Emit a systemd watchdog notification and reschedule the event. */ #ifdef HAVE_SYSTEMD_WATCHDOG +#define rad_panic(_x, ...) radlog_fatal("%s[%u]: " _x, __FILE__, __LINE__, ## __VA_ARGS__) + static void sd_watchdog_event(fr_event_list_t *our_el, struct timeval *now, void *ctx) { struct timeval when;