Show
Ignore:
Timestamp:
05/03/07 22:50:23 (21 months ago)
Author:
aturner
Message:

remove last attribute((unused)) and replace with _U_. fixes #168

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/common/sendpacket.c

    r1804 r1863  
    146146#include <net/if_dl.h> // used for get_hwaddr_bpf() 
    147147 
    148 static sendpacket_t *sendpacket_open_bpf(const char *, char *) __attribute__((unused)); 
    149 static struct tcpr_ether_addr *sendpacket_get_hwaddr_bpf(sendpacket_t *) __attribute__((unused)); 
     148static sendpacket_t *sendpacket_open_bpf(const char *, char *) _U_; 
     149static struct tcpr_ether_addr *sendpacket_get_hwaddr_bpf(sendpacket_t *) _U_; 
    150150 
    151151#endif /* HAVE_BPF */ 
    152152 
    153153#ifdef HAVE_LIBNET 
    154 static sendpacket_t *sendpacket_open_libnet(const char *, char *) __attribute__((unused)); 
    155 static struct tcpr_ether_addr *sendpacket_get_hwaddr_libnet(sendpacket_t *) __attribute__((unused)); 
     154static sendpacket_t *sendpacket_open_libnet(const char *, char *) _U_; 
     155static struct tcpr_ether_addr *sendpacket_get_hwaddr_libnet(sendpacket_t *) _U_; 
    156156#endif /* HAVE_LIBNET */ 
    157157 
    158158#if (defined HAVE_PCAP_INJECT || defined HAVE_PCAP_SENDPACKET) 
    159 static sendpacket_t *sendpacket_open_pcap(const char *, char *) __attribute__((unused)); 
    160 static struct tcpr_ether_addr *sendpacket_get_hwaddr_pcap(sendpacket_t *) __attribute__((unused)); 
     159static sendpacket_t *sendpacket_open_pcap(const char *, char *) _U_; 
     160static struct tcpr_ether_addr *sendpacket_get_hwaddr_pcap(sendpacket_t *) _U_; 
    161161#endif /* HAVE_PCAP_INJECT || HAVE_PACKET_SENDPACKET */ 
    162162