summaryrefslogtreecommitdiff
path: root/package/fprobe/patches/patch-src_fprobe_c
blob: 43197cf64c17f01c2405a7bf4fc55e2303fe3c55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;