use proper types to represent function pointers
This commit is contained in:
parent
1a7b6ddd5d
commit
d1f07a4ecc
@ -505,7 +505,7 @@ static int
|
||||
ipfw_hook(int onoff, int pf)
|
||||
{
|
||||
struct pfil_head *pfh;
|
||||
void *hook_func;
|
||||
pfil_func_t hook_func;
|
||||
|
||||
pfh = pfil_head_get(PFIL_TYPE_AF, pf);
|
||||
if (pfh == NULL)
|
||||
|
@ -2846,7 +2846,7 @@ compare_sh(const void *_a, const void *_b)
|
||||
* Returns pointer to handler or NULL.
|
||||
*/
|
||||
static struct ipfw_sopt_handler *
|
||||
find_sh(uint16_t code, uint8_t version, void *handler)
|
||||
find_sh(uint16_t code, uint8_t version, sopt_handler_f *handler)
|
||||
{
|
||||
struct ipfw_sopt_handler *sh, h;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user