summaryrefslogtreecommitdiff
path: root/omapip/result.c
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1999-10-07 06:36:35 +0000
committerTed Lemon <source@isc.org>1999-10-07 06:36:35 +0000
commitb1b7b521fe85027146beeea652e9677b2f43f7ec (patch)
tree4ad373a9e7f1f3fb91a8c9fba1be4127003cf40e /omapip/result.c
parent77a5f87162dd4b32ee082b87f741793432341cc8 (diff)
downloadisc-dhcp-b1b7b521fe85027146beeea652e9677b2f43f7ec.tar.gz
Get a clean compile with all known gcc warnings.
Diffstat (limited to 'omapip/result.c')
-rw-r--r--omapip/result.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/omapip/result.c b/omapip/result.c
index 1d4e52a2..57660d89 100644
--- a/omapip/result.c
+++ b/omapip/result.c
@@ -23,7 +23,7 @@
#include <omapip/omapip.h>
-static char *text[ISC_R_NRESULTS] = {
+static const char *text[ISC_R_NRESULTS] = {
"success", /* 0 */
"out of memory", /* 1 */
"timed out", /* 2 */
@@ -73,7 +73,7 @@ static char *text[ISC_R_NRESULTS] = {
"no key specified", /* 46 */
};
-char *isc_result_totext (isc_result_t result)
+const char *isc_result_totext (isc_result_t result)
{
if (result >= ISC_R_SUCCESS && result < ISC_R_NRESULTS)
return text [result];