diff options
| author | 2020-05-08 14:30:42 +0000 | |
|---|---|---|
| committer | 2020-05-08 14:30:42 +0000 | |
| commit | 28297e90719f8bd86be407ff75bac9bb4f8a5a32 (patch) | |
| tree | 161d69c70b26f8ed171d210614032a9df7d583b6 /usr.bin/dig/lib/isc/regex.c | |
| parent | imsg.h needs uio.h, pointed out by deraadt (diff) | |
| download | wireguard-openbsd-28297e90719f8bd86be407ff75bac9bb4f8a5a32.tar.xz wireguard-openbsd-28297e90719f8bd86be407ff75bac9bb4f8a5a32.zip | |
Use proper function pointer type instead of void *
Mixing up function and void pointers isn't defined by POSIX or the
C standard. POSIX only specifies that casting the result of dlsym(3) to
an appropriate function pointer works.
Avoid all this by using a typedef.
from Michael Forney, ok tb@
Diffstat (limited to 'usr.bin/dig/lib/isc/regex.c')
0 files changed, 0 insertions, 0 deletions
