From: Denis Ovsienko Date: Tue, 14 Jan 2014 15:56:13 +0000 (+0400) Subject: justify more function declarations X-Git-Tag: tcpdump-4.6.0~287 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/0f5769df9c34cad23ce2f3a3f6ab9322e8b3c31c justify more function declarations --- diff --git a/interface.h b/interface.h index 6ab40c69..f551752f 100644 --- a/interface.h +++ b/interface.h @@ -235,7 +235,7 @@ extern void ns_print(const u_char *, u_int, int); extern const u_char * ns_nprint (register const u_char *, register const u_char *); extern void ntp_print(const u_char *, u_int); extern u_int null_if_print(const struct pcap_pkthdr *, const u_char *); -extern void openflow_print(const u_char *, u_int); +extern void openflow_print(const u_char *, const u_int); extern void ospf_print(const u_char *, u_int, const u_char *); extern void olsr_print (const u_char *, u_int, int); extern void pimv1_print(const u_char *, u_int); @@ -340,7 +340,7 @@ extern u_int usb_linux_48_byte_print(const struct pcap_pkthdr *, const u_char *) extern u_int usb_linux_64_byte_print(const struct pcap_pkthdr *, const u_char *); extern void vxlan_print(const u_char *, u_int); extern void otv_print(const u_char *, u_int); -extern void ahcp_print(const u_char *, u_int); +extern void ahcp_print(const u_char *, const u_int); #ifdef INET6 diff --git a/netdissect.h b/netdissect.h index f1790fad..8369eda6 100644 --- a/netdissect.h +++ b/netdissect.h @@ -293,7 +293,7 @@ extern if_printer lookup_printer(int); extern void eap_print(netdissect_options *,const u_char *, u_int); extern int esp_print(netdissect_options *, - register const u_char *bp, int len, register const u_char *bp2, + const u_char *bp, const int length, const u_char *bp2, int *nhdr, int *padlen); extern void arp_print(netdissect_options *,const u_char *, u_int, u_int); extern void tipc_print(netdissect_options *, const u_char *, u_int, u_int);