Array cs_errlist no longer global.
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 29 Sep 1997 07:16:14 +0000 (07:16 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 29 Sep 1997 07:16:14 +0000 (07:16 +0000)
comstack/comstack.c
include/comstack.h

index 1242998..d46b49e 100644 (file)
@@ -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 $
  * 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
  * 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 <comstack.h>
 
 
 #include <comstack.h>
 
-const char *cs_errlist[] =
+static const char *cs_errlist[] =
 {
     "No error or unspecified error",
     "System (lower-layer) error",
 {
     "No error or unspecified error",
     "System (lower-layer) error",
index 354b345..13f7369 100644 (file)
  * OF THIS SOFTWARE.
  *
  * $Log: comstack.h,v $
  * 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
  * 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
 
 #define CSNODATA   3
 #define CSWRONGBUF 4
 
-extern const char *cs_errlist[];
-
 /* backwards compatibility */
 #define CS_SR     PROTO_SR
 #define CS_Z3950  PROTO_Z3950
 /* backwards compatibility */
 #define CS_SR     PROTO_SR
 #define CS_Z3950  PROTO_Z3950