From 48582bf47f5ef7a1bf136ca455d182addad08028 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Sat, 26 Mar 2022 07:23:21 +0100 Subject: treewide: Mark constant references as const Signed-off-by: Stefano Brivio --- pcap.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pcap.h') diff --git a/pcap.h b/pcap.h index e951b2f..9e1736c 100644 --- a/pcap.h +++ b/pcap.h @@ -6,9 +6,9 @@ #ifndef PCAP_H #define PCAP_H -void pcap(char *pkt, size_t len); -void pcapm(struct msghdr *mh); -void pcapmm(struct mmsghdr *mmh, unsigned int vlen); +void pcap(const char *pkt, size_t len); +void pcapm(const struct msghdr *mh); +void pcapmm(const struct mmsghdr *mmh, unsigned int vlen); void pcap_init(struct ctx *c); #endif /* PCAP_H */ -- cgit v1.2.3