pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/tcpdpriv static functions must not be declared ins...
details: https://anonhg.NetBSD.org/pkgsrc/rev/efe29dfeccaa
branches: trunk
changeset: 536018:efe29dfeccaa
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat Dec 01 13:03:27 2007 +0000
description:
static functions must not be declared inside functions.
diffstat:
net/tcpdpriv/distinfo | 4 ++--
net/tcpdpriv/patches/patch-aa | 18 +++++++++++++++---
2 files changed, 17 insertions(+), 5 deletions(-)
diffs (46 lines):
diff -r 50c78b86cf1b -r efe29dfeccaa net/tcpdpriv/distinfo
--- a/net/tcpdpriv/distinfo Sat Dec 01 12:58:56 2007 +0000
+++ b/net/tcpdpriv/distinfo Sat Dec 01 13:03:27 2007 +0000
@@ -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 -r 50c78b86cf1b -r efe29dfeccaa net/tcpdpriv/patches/patch-aa
--- a/net/tcpdpriv/patches/patch-aa Sat Dec 01 12:58:56 2007 +0000
+++ b/net/tcpdpriv/patches/patch-aa Sat Dec 01 13:03:27 2007 +0000
@@ -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 @@
/*
* 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[])
Home |
Main Index |
Thread Index |
Old Index