aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pcapio.c4
-rw-r--r--pcapio.h4
2 files changed, 4 insertions, 4 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)
{
diff --git a/pcapio.h b/pcapio.h
index c69a8340b2..a51d28678d 100644
--- a/pcapio.h
+++ b/pcapio.h
@@ -65,9 +65,9 @@ libpcap_write_interface_statistics_block(FILE *fp,
extern 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);