From 9d63a523a442396680558d01282958f0f2eae392 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 22 Feb 2024 14:14:56 +0100 Subject: fprobe: fix compile issue --- package/fprobe/patches/patch-src_fprobe_c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 package/fprobe/patches/patch-src_fprobe_c (limited to 'package/fprobe/patches/patch-src_fprobe_c') diff --git a/package/fprobe/patches/patch-src_fprobe_c b/package/fprobe/patches/patch-src_fprobe_c new file mode 100644 index 000000000..43197cf64 --- /dev/null +++ b/package/fprobe/patches/patch-src_fprobe_c @@ -0,0 +1,20 @@ +--- fprobe-1.1.orig/src/fprobe.c 2005-01-30 09:43:35.000000000 +0100 ++++ fprobe-1.1/src/fprobe.c 2024-02-20 07:18:30.403921178 +0100 +@@ -393,7 +393,7 @@ void gettime(struct Time *now) + now->usec = t.tv_usec; + } + +-inline time_t cmpmtime(struct Time *t1, struct Time *t2) ++time_t cmpmtime(struct Time *t1, struct Time *t2) + { + return (t1->sec - t2->sec) * 1000 + (t1->usec - t2->usec) / 1000; + } +@@ -411,7 +411,7 @@ hash_t hash_flow(struct Flow *flow) + else return hash(flow, sizeof(struct Flow_TL)); + } + +-inline void copy_flow(struct Flow *src, struct Flow *dst) ++void copy_flow(struct Flow *src, struct Flow *dst) + { + dst->sip = src->sip; + dst->dip = src->dip; -- cgit v1.2.3