diff options
| author | Roy Marples <roy@marples.name> | 2020-04-23 13:40:03 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-04-23 13:40:03 +0000 |
| commit | 3863f7bd6b991cc27ee29c764dab12b8902c61e4 (patch) | |
| tree | 567bd16eeed83aa754c4360cdc7bbf15a6be8d51 /src | |
| parent | c1e483219a2e67cc7c1d55205494c1b6c0b9376e (diff) | |
| download | dhcpcd-3863f7bd6b991cc27ee29c764dab12b8902c61e4.tar.xz | |
Remove unsed define.
Diffstat (limited to 'src')
| -rw-r--r-- | src/if.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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 @@ if_discover(struct dhcpcd_ctx *ctx, struct ifaddrs **ifaddrs, #elif AF_PACKET const struct sockaddr_ll *sll; #endif -#if defined(SIOCGIFPRIORITY) || defined(SIOCGIFHWADDR) +#if defined(SIOCGIFPRIORITY) struct ifreq ifr; #endif |
