summaryrefslogtreecommitdiff
path: root/mail/rblcheck/files
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@FreeBSD.org>1998-11-16 16:33:37 +0000
committerJun-ichiro itojun Hagino <itojun@FreeBSD.org>1998-11-16 16:33:37 +0000
commit88edd839df3cab1445f550d7b409425183c772d5 (patch)
tree8937d3779da851cb9a052006974221a20cb02291 /mail/rblcheck/files
parentUpgrade to 0.5.0. (diff)
declare "extern char *optarg".
(I can't blindly include getopt.h since older FreeBSD doesn't have one) remove BROKEN mark (could someone check this?).
Notes
Notes: svn path=/head/; revision=14570
Diffstat (limited to 'mail/rblcheck/files')
-rw-r--r--mail/rblcheck/files/patch-aa9
1 files changed, 5 insertions, 4 deletions
diff --git a/mail/rblcheck/files/patch-aa b/mail/rblcheck/files/patch-aa
index 41ee5ff34a04..387bd858cdff 100644
--- a/mail/rblcheck/files/patch-aa
+++ b/mail/rblcheck/files/patch-aa
@@ -1,5 +1,5 @@
--- rblcheck.c.orig Thu Aug 20 14:47:03 1998
-+++ rblcheck.c Sun Oct 18 00:42:57 1998
++++ rblcheck.c Tue Nov 17 01:30:36 1998
@@ -79,6 +79,7 @@
#include <sys/types.h>
#include <netinet/in.h>
@@ -71,11 +71,12 @@
{
if( *cp == '\n' || *cp == '"' ||
*cp == '\\' )
-@@ -308,23 +312,26 @@
+@@ -308,23 +312,27 @@
char **argv;
{
extern int optind;
- int a, b, c, d;
++ extern char *optarg;
+ struct hostent *ent;
+ struct in_addr a;
int quiet = 0;
@@ -102,7 +103,7 @@
{
case 'q':
/* Quiet */
-@@ -372,10 +379,20 @@
+@@ -372,10 +380,20 @@
return -1;
}
@@ -127,7 +128,7 @@
fprintf( stderr, "%s: invalid IP address\n", progname );
usage();
return -1;
-@@ -383,7 +400,7 @@
+@@ -383,7 +401,7 @@
for( ptr = rblsites; ptr != NULL; ptr = ptr->next )
{