Mercurial > hg > dhcpcd
changeset 5167:bb0276072b5d draft
Remove unsed define.
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Thu, 23 Apr 2020 13:40:03 +0000 |
| parents | a70f6ddefe3c |
| children | 1f5dc6102f9b |
| files | src/if.c |
| diffstat | 1 files changed, 1 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/if.c Thu Apr 23 14:33:48 2020 +0100 +++ b/src/if.c Thu Apr 23 13:40:03 2020 +0000 @@ -75,12 +75,6 @@ #include "logerr.h" #include "privsep.h" -#ifdef __sun -/* It has the ioctl, but the member is missing from the struct? - * No matter, our getifaddrs foo in if-sun.c will DTRT. */ -#undef SIOCGIFHWADDR -#endif - void if_free(struct interface *ifp) { @@ -390,7 +384,7 @@ #elif AF_PACKET const struct sockaddr_ll *sll; #endif -#if defined(SIOCGIFPRIORITY) || defined(SIOCGIFHWADDR) +#if defined(SIOCGIFPRIORITY) struct ifreq ifr; #endif
