commit | 2c4d3841a82b88ae8a7b518dc6206f84f68e705a | [log] [tgz] |
---|---|---|
author | Peter Foley <pefoley2@pefoley.com> | Thu Jan 12 23:49:08 2023 -0500 |
committer | Richard Weinberger <richard@nod.at> | Mon Feb 13 10:13:48 2023 +0100 |
tree | 0eba13720d5c37a2c93058e6da4843ed67590190 | |
parent | 2f2be5102480b1058182fa6c4b1e5c1732d6760c [diff] |
um: Avoid pcap multiple definition errors Change the function name in pcap_kern to avoid conflicting with libpcap.a. e.g. ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../lib64/libpcap.a(pcap.o): in function `pcap_init': (.text+0x7f0): multiple definition of `pcap_init'; arch/um/drivers/pcap_kern.o:pcap_kern.c:(.text.unlikely+0x0): first defined here Signed-off-by: Peter Foley <pefoley2@pefoley.com> Signed-off-by: Richard Weinberger <richard@nod.at>