diff options
author | rillig <rillig> | 2007-12-01 13:03:27 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-12-01 13:03:27 +0000 |
commit | 8aa0b7084e3595c34b0c92cc2cc58ed4e8f6235b (patch) | |
tree | e2db936e30f6d239dd3b3a9c317e008fcaefb5b6 /net/tcpdpriv | |
parent | 9f2a8352002ee99d65791cf523f30be97f252eab (diff) | |
download | pkgsrc-8aa0b7084e3595c34b0c92cc2cc58ed4e8f6235b.tar.gz |
static functions must not be declared inside functions.
Diffstat (limited to 'net/tcpdpriv')
-rw-r--r-- | net/tcpdpriv/distinfo | 4 | ||||
-rw-r--r-- | net/tcpdpriv/patches/patch-aa | 18 |
2 files changed, 17 insertions, 5 deletions
diff --git a/net/tcpdpriv/distinfo b/net/tcpdpriv/distinfo index 4fae03e9a70..fe92f2cee27 100644 --- a/net/tcpdpriv/distinfo +++ b/net/tcpdpriv/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.5 2006/03/01 22:49:07 wiz Exp $ +$NetBSD: distinfo,v 1.6 2007/12/01 13:03:27 rillig Exp $ SHA1 (tcpd-tools-0.8.tar.gz) = fe2abe15bbf9062833af9bec3745c751a8aa06df RMD160 (tcpd-tools-0.8.tar.gz) = 876842cbb37ca65d4b955718abd5ef5c14810dee Size (tcpd-tools-0.8.tar.gz) = 468856 bytes -SHA1 (patch-aa) = 65ce9d5e316db069873561712ac238cd3af5e689 +SHA1 (patch-aa) = 5122c3612164637bec300a6114fa5cc9afe05d8d SHA1 (patch-ab) = 2c939882835b80d1fb11aa3bedc50eb80cefdf2e diff --git a/net/tcpdpriv/patches/patch-aa b/net/tcpdpriv/patches/patch-aa index a502c1ae145..02d4a323510 100644 --- a/net/tcpdpriv/patches/patch-aa +++ b/net/tcpdpriv/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.3 2006/03/01 22:49:07 wiz Exp $ +$NetBSD: patch-aa,v 1.4 2007/12/01 13:03:27 rillig Exp $ ---- tcpdpriv.c.orig 2000-04-18 07:59:19.000000000 +0000 -+++ tcpdpriv.c +--- tcpdpriv.c.orig 2000-04-18 09:59:19.000000000 +0200 ++++ tcpdpriv.c 2007-12-01 14:02:20.000000000 +0100 @@ -90,7 +90,7 @@ #include <arpa/nameser.h> #endif @@ -22,6 +22,18 @@ $NetBSD: patch-aa,v 1.3 2006/03/01 22:49:07 wiz Exp $ /* * deal with systems in which bpf_int32 and bpf_u_int32 are not defined */ +@@ -2491,10 +2495,10 @@ dlt_hdrlen(int dlt) + } + } + ++static void usage(char *cmd); + static void + verify_and_print_args(char *cmd) + { +- static void usage(char *cmd); + + lookup_init(&addr_propagate); + @@ -2759,7 +2763,7 @@ usage(char *cmd) int main(int argc, char *argv[], char *envp[]) |