You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by gs...@locus.apache.org on 2000/11/21 08:56:01 UTC
cvs commit: apr/misc/unix errorcodes.c
gstein 00/11/20 23:56:01
Modified: misc/unix errorcodes.c
Log:
Add "const" to keep the working set smaller.
Revision Changes Path
1.28 +2 -2 apr/misc/unix/errorcodes.c
Index: errorcodes.c
===================================================================
RCS file: /home/cvs/apr/misc/unix/errorcodes.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -u -r1.27 -r1.28
--- errorcodes.c 2000/11/20 19:57:41 1.27
+++ errorcodes.c 2000/11/21 07:56:00 1.28
@@ -206,9 +206,9 @@
#elif defined(WIN32)
-static struct {
+static const struct {
apr_status_t code;
- char *msg;
+ const char *msg;
} gaErrorList[] = {
WSAEINTR, "Interrupted system call",
WSAEBADF, "Bad file number",