1
0
Fork 0
mirror of https://passt.top/passt synced 2025-06-17 04:35:35 +02:00

treewide: Mark constant references as const

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2022-03-26 07:23:21 +01:00
parent 965f603238
commit 48582bf47f
29 changed files with 192 additions and 168 deletions

2
arp.c
View file

@ -36,7 +36,7 @@
*
* Return: 1 if handled, -1 on failure
*/
int arp(struct ctx *c, struct pool *p)
int arp(const struct ctx *c, const struct pool *p)
{
unsigned char swap[4];
struct ethhdr *eh;