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

View File

@@ -6,7 +6,7 @@
#ifndef NETLINK_H
#define NETLINK_H
int nl_sock_init(struct ctx *c);
int nl_sock_init(const struct ctx *c);
unsigned int nl_get_ext_if(int *v4, int *v6);
void nl_route(int ns, unsigned int ifi, sa_family_t af, void *gw);
void nl_addr(int ns, unsigned int ifi, sa_family_t af,