From 0392900f4036c06aff18c4a2cf438e82ad8778ce Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 29 Feb 1996 15:35:20 +0000 Subject: [PATCH] Missing 'extern' in declaration of Winterp types. --- www/whtml.c | 9 +++++++-- www/whtml.h | 7 +++++-- www/wirtcl.h | 9 +++++++-- www/wtcl.h | 7 +++++-- 4 files changed, 24 insertions(+), 8 deletions(-) diff --git a/www/whtml.c b/www/whtml.c index 5a74db3..b590af8 100644 --- a/www/whtml.c +++ b/www/whtml.c @@ -41,7 +41,10 @@ * USE OR PERFORMANCE OF THIS SOFTWARE. * * $Log: whtml.c,v $ - * Revision 1.3 1995/10/27 15:12:06 adam + * Revision 1.4 1996/02/29 15:35:20 adam + * Missing 'extern' in declaration of Winterp types. + * + * Revision 1.3 1995/10/27 15:12:06 adam * IrTcl incorporated in the gateway. * Better separation of script types. * Z39.50 gateway scripts entered. @@ -68,7 +71,9 @@ static int do_exec (const char *fname, char *parms, void *mydata); static struct w_interp_type w_interp_t = { "html", do_create, - do_exec + do_exec, + NULL, + NULL }; W_Interp_Type w_interp_html = &w_interp_t; diff --git a/www/whtml.h b/www/whtml.h index c97bc4b..7321be4 100644 --- a/www/whtml.h +++ b/www/whtml.h @@ -41,7 +41,10 @@ * USE OR PERFORMANCE OF THIS SOFTWARE. * * $Log: whtml.h,v $ - * Revision 1.1 1995/10/27 15:12:07 adam + * Revision 1.2 1996/02/29 15:35:21 adam + * Missing 'extern' in declaration of Winterp types. + * + * Revision 1.1 1995/10/27 15:12:07 adam * IrTcl incorporated in the gateway. * Better separation of script types. * Z39.50 gateway scripts entered. @@ -53,6 +56,6 @@ #include "winterp.h" -W_Interp_Type w_interp_html; +extern W_Interp_Type w_interp_html; #endif diff --git a/www/wirtcl.h b/www/wirtcl.h index 6e158a2..65317f6 100644 --- a/www/wirtcl.h +++ b/www/wirtcl.h @@ -41,7 +41,10 @@ * USE OR PERFORMANCE OF THIS SOFTWARE. * * $Log: wirtcl.h,v $ - * Revision 1.1 1995/10/27 15:12:09 adam + * Revision 1.2 1996/02/29 15:35:21 adam + * Missing 'extern' in declaration of Winterp types. + * + * Revision 1.1 1995/10/27 15:12:09 adam * IrTcl incorporated in the gateway. * Better separation of script types. * Z39.50 gateway scripts entered. @@ -55,6 +58,8 @@ #include #include -W_Interp_Type w_interp_irtcl; +extern W_Interp_Type w_interp_irtcl; + +Tcl_Interp *w_interp_irtcl_get (W_Interp w_interp); #endif diff --git a/www/wtcl.h b/www/wtcl.h index 5653f94..75799c1 100644 --- a/www/wtcl.h +++ b/www/wtcl.h @@ -41,7 +41,10 @@ * USE OR PERFORMANCE OF THIS SOFTWARE. * * $Log: wtcl.h,v $ - * Revision 1.1 1995/10/27 15:12:15 adam + * Revision 1.2 1996/02/29 15:37:41 adam + * Missing 'extern' in declaration of Winterp types. + * + * Revision 1.1 1995/10/27 15:12:15 adam * IrTcl incorporated in the gateway. * Better separation of script types. * Z39.50 gateway scripts entered. @@ -56,6 +59,6 @@ Tcl_Interp *w_interp_tcl_get (W_Interp w_interp); -W_Interp_Type w_interp_tcl; +extern W_Interp_Type w_interp_tcl; #endif -- 1.7.10.4