]> The Tcpdump Group git mirrors - libpcap/commitdiff
Clean up #endif comments.
authorGuy Harris <[email protected]>
Mon, 22 Jan 2018 04:28:38 +0000 (20:28 -0800)
committerGuy Harris <[email protected]>
Mon, 22 Jan 2018 04:28:38 +0000 (20:28 -0800)
nametoaddr.c

index 21562a594138a4427d693ad4a32119feb222c07a..17c455678c4cc5d0d826b4d8915af6acd6646a67 100644 (file)
                unsigned char ether_addr_octet[6];
        };
       #endif /* HAVE_STRUCT_ETHER_ADDR */
-    #endif
+    #endif /* what declares ether_hostton() */
 
     #ifdef NEED_NETINET_IF_ETHER_H
       #include <net/if.h>      /* Needed on some platforms */
        * No header declares it, so declare it ourselves.
        */
       extern int ether_hostton(const char *, struct ether_addr *);
-    #endif /* defined(HAVE_DECL_ETHER_HOSTTON) */
+    #endif /* !defined(HAVE_DECL_ETHER_HOSTTON) */
   #endif /* HAVE_ETHER_HOSTTON */
 
   #include <arpa/inet.h>