ports/sysutils/pftop/files/extra-patch-bpf_dump.c
Marcelo Araujo b549d1848e - Fix my latest commit, it UNBROKEN on 11, but BREAK it in all other OSVERSION.
- Bump PORTREVISION.

Reported by:	"Herbert J. Skuhra" <herbert@oslo.ath.cx>
Tested by:	"Herbert J. Skuhra" <herbert@oslo.ath.cx>
2014-10-21 08:41:54 +00:00

15 lines
414 B
C

--- bpf_dump.c.orig 2007-11-07 07:34:18.000000000 +0100
+++ bpf_dump.c 2014-10-17 12:39:01.000000000 +0200
@@ -33,10 +33,10 @@
#include <stdio.h>
-extern void bpf_dump(struct bpf_program *, int);
+extern void bpf_dump(const struct bpf_program *, int);
void
-bpf_dump(struct bpf_program *p, int option)
+bpf_dump(const struct bpf_program *p, int option)
{
struct bpf_insn *insn;
int i;