summaryrefslogtreecommitdiff
path: root/package/fprobe/patches/patch-src_fprobe_c
diff options
context:
space:
mode:
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;