patch-src_fprobe_c 668 B

1234567891011121314151617181920
  1. --- fprobe-1.1.orig/src/fprobe.c 2005-01-30 09:43:35.000000000 +0100
  2. +++ fprobe-1.1/src/fprobe.c 2024-02-20 07:18:30.403921178 +0100
  3. @@ -393,7 +393,7 @@ void gettime(struct Time *now)
  4. now->usec = t.tv_usec;
  5. }
  6. -inline time_t cmpmtime(struct Time *t1, struct Time *t2)
  7. +time_t cmpmtime(struct Time *t1, struct Time *t2)
  8. {
  9. return (t1->sec - t2->sec) * 1000 + (t1->usec - t2->usec) / 1000;
  10. }
  11. @@ -411,7 +411,7 @@ hash_t hash_flow(struct Flow *flow)
  12. else return hash(flow, sizeof(struct Flow_TL));
  13. }
  14. -inline void copy_flow(struct Flow *src, struct Flow *dst)
  15. +void copy_flow(struct Flow *src, struct Flow *dst)
  16. {
  17. dst->sip = src->sip;
  18. dst->dip = src->dip;