diff options
author | Peter Foley <[email protected]> | 2023-01-12 23:49:08 -0500 |
---|---|---|
committer | Richard Weinberger <[email protected]> | 2023-02-13 10:13:48 +0100 |
commit | 2c4d3841a82b88ae8a7b518dc6206f84f68e705a (patch) | |
tree | 0eba13720d5c37a2c93058e6da4843ed67590190 /tools/perf/util/scripting-engines/trace-event-python.c | |
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 <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions