summaryrefslogtreecommitdiff
path: root/package/fprobe/patches/patch-src_fprobe_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-02-22 14:14:56 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-02-22 14:19:08 +0100
commit9d63a523a442396680558d01282958f0f2eae392 (patch)
tree6c1b4bd7afcc82468f9e35c9c0e07be4a6dd6a78 /package/fprobe/patches/patch-src_fprobe_c
parent50a3bfb64f7922b1f6056bc78c6e1a0cf0202ba2 (diff)
fprobe: fix compile issue
Diffstat (limited to 'package/fprobe/patches/patch-src_fprobe_c')
-rw-r--r--package/fprobe/patches/patch-src_fprobe_c20
1 files changed, 20 insertions, 0 deletions
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;