Get pf compile with RESTARTABLE_PANICS

From: Jeremie Le Hen <jeremie_at_le-hen.org>
Date: Thu, 18 May 2006 16:58:22 +0200
Hi,

the following error occurs when RESTARTABLE_PANICS is defined in the
kernel config file (panic() no longer has the __noreturn__ attribute) :

% /usr/src/sys/contrib/pf/net/pf.c: In function `pf_find_state_recurse':
% /usr/src/sys/contrib/pf/net/pf.c:668: warning: control reaches end of non-void function

The attached patch makes pf compile correctly.

Regards,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >

Received on Thu May 18 2006 - 12:58:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:55 UTC