From a2a7abe97309bb4b8e153145a00bd9817957dad7 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 29 Sep 1997 07:16:14 +0000 Subject: [PATCH] Array cs_errlist no longer global. --- comstack/comstack.c | 9 ++++++--- include/comstack.h | 7 ++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/comstack/comstack.c b/comstack/comstack.c index 1242998..d46b49e 100644 --- a/comstack/comstack.c +++ b/comstack/comstack.c @@ -1,10 +1,13 @@ /* - * Copyright (c) 1995, Index Data + * Copyright (c) 1995-1997, Index Data * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * * $Log: comstack.c,v $ - * Revision 1.3 1997-09-01 08:49:14 adam + * Revision 1.4 1997-09-29 07:16:14 adam + * Array cs_errlist no longer global. + * + * Revision 1.3 1997/09/01 08:49:14 adam * New windows NT/95 port using MSV5.0. Minor changes only. * * Revision 1.2 1995/09/29 17:01:48 quinn @@ -24,7 +27,7 @@ #include -const char *cs_errlist[] = +static const char *cs_errlist[] = { "No error or unspecified error", "System (lower-layer) error", diff --git a/include/comstack.h b/include/comstack.h index 354b345..13f7369 100644 --- a/include/comstack.h +++ b/include/comstack.h @@ -24,7 +24,10 @@ * OF THIS SOFTWARE. * * $Log: comstack.h,v $ - * Revision 1.18 1997-09-17 12:10:31 adam + * Revision 1.19 1997-09-29 07:16:14 adam + * Array cs_errlist no longer global. + * + * Revision 1.18 1997/09/17 12:10:31 adam * YAZ version 1.4. * * Revision 1.17 1997/09/01 08:49:47 adam @@ -210,8 +213,6 @@ YAZ_EXPORT const char *cs_errmsg(int n); #define CSNODATA 3 #define CSWRONGBUF 4 -extern const char *cs_errlist[]; - /* backwards compatibility */ #define CS_SR PROTO_SR #define CS_Z3950 PROTO_Z3950 -- 1.7.10.4