ipfilter: Removed unused ioctl typedef

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

(cherry picked from commit 1fcc50004c)
This commit is contained in:
Cy Schubert 2022-10-07 03:05:53 -07:00
parent 1682f901ec
commit 2b087796cc

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);