ipfilter: Removed unused ioctl typedef

Defunct operating systems no longer pollute the ipfilter sources. Remove
their typedefs.

MFC after:	1 week
This commit is contained in:
Cy Schubert 2022-10-07 03:05:53 -07:00
parent 36bb350e37
commit 1fcc50004c

View file

@ -47,6 +47,7 @@
#include <errno.h>
#include <limits.h>
#include <netdb.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stddef.h>
#include <stdio.h>
@ -173,13 +174,7 @@ typedef struct proxyrule {
} proxyrule_t;
#if defined(__NetBSD__) || defined(__FreeBSD__) || \
SOLARIS
# include <stdarg.h>
typedef int (* ioctlfunc_t)(int, ioctlcmd_t, ...);
#else
typedef int (* ioctlfunc_t)(dev_t, ioctlcmd_t, void *);
#endif
typedef int (* addfunc_t)(int, ioctlfunc_t, void *);
typedef int (* copyfunc_t)(void *, void *, size_t);