summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorGreg Stein <gstein@apache.org>2000-11-21 07:56:00 +0000
committerGreg Stein <gstein@apache.org>2000-11-21 07:56:00 +0000
commit5f93ad68caf03331cff22ead26adc73a8f783fc2 (patch)
tree28d40ede4abebd48baedac8924e1ab3fde0fb424 /misc
parentd1a3e4babdb567bfae31527dfdb04ddea30afecb (diff)
downloadapr-5f93ad68caf03331cff22ead26adc73a8f783fc2.tar.gz
Add "const" to keep the working set smaller.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60779 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'misc')
-rw-r--r--misc/unix/errorcodes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/unix/errorcodes.c b/misc/unix/errorcodes.c
index fe7316b0f..4edeb27e3 100644
--- a/misc/unix/errorcodes.c
+++ b/misc/unix/errorcodes.c
@@ -206,9 +206,9 @@ static char *apr_os_strerror(char* buf, apr_size_t bufsize, int err)
#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",