pkgsrc/www/ijb/patches/patch-ac
2007-09-29 16:16:47 +00:00

30 lines
830 B
Text

$NetBSD: patch-ac,v 1.1 2007/09/29 16:16:48 rillig Exp $
First type definition, then declaration.
--- jcc.h.orig 1998-10-31 04:58:47.000000000 +0100
+++ jcc.h 2007-09-29 18:14:24.000000000 +0200
@@ -37,11 +37,6 @@ extern char *referrer;
extern char *uagent;
extern char *from;
-extern struct list wafer_list[];
-extern struct list xtra_list[];
-extern struct list trust_info[];
-extern struct url_spec * trust_list[];
-
extern int add_forwarded;
struct gateway {
@@ -88,6 +83,11 @@ struct list {
struct list *next;
};
+extern struct list wafer_list[];
+extern struct list xtra_list[];
+extern struct list trust_info[];
+extern struct url_spec * trust_list[];
+
int add_to_iob();
#define IOB_PEEK(CSP) ((CSP->iob->cur > CSP->iob->eod) ? (CSP->iob->eod - CSP->iob->cur) : 0)