From 452569ecae790e38f9a246df7ca34de5e0420b77 Mon Sep 17 00:00:00 2001 From: tuexen Date: Sun, 26 Apr 2009 19:24:36 +0000 Subject: constify some args of libpcap_write_enhanced_packet_block() similar to libpcap_write_packet(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28161 f5534014-38df-0310-8fa8-9805f1628bb7 --- pcapio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pcapio.c') diff --git a/pcapio.c b/pcapio.c index cc1c8eb743..a609c2cedd 100644 --- a/pcapio.c +++ b/pcapio.c @@ -370,9 +370,9 @@ libpcap_write_interface_description_block(FILE *fp, Returns TRUE on success, FALSE on failure. */ gboolean libpcap_write_enhanced_packet_block(FILE *fp, - struct pcap_pkthdr *phdr, + const struct pcap_pkthdr *phdr, guint32 interface_id, - u_char *pd, + const u_char *pd, long *bytes_written, int *err) { -- cgit v1.2.3