aboutsummaryrefslogtreecommitdiffstats
path: root/pcapio.c
diff options
context:
space:
mode:
authortuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2009-04-26 19:24:36 +0000
committertuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2009-04-26 19:24:36 +0000
commit452569ecae790e38f9a246df7ca34de5e0420b77 (patch)
tree82799b10dffae0e7b506f185a4bd060e915f16cb /pcapio.c
parent2ac108863ed04fe9125b057efb58a4e016582a5e (diff)
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
Diffstat (limited to 'pcapio.c')
-rw-r--r--pcapio.c4
1 files changed, 2 insertions, 2 deletions
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)
{