From adb3b122e8d8d5554bf5fdb36edf280dffdd021b Mon Sep 17 00:00:00 2001
From: Martin Stjernholm <mast@lysator.liu.se>
Date: Mon, 22 Mar 2004 20:35:44 +0100
Subject: [PATCH] Avoid a const warning.

Rev: src/mapping.c:1.178
Rev: src/mapping.h:1.53
---
 src/mapping.c | 6 +++---
 src/mapping.h | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/mapping.c b/src/mapping.c
index c6c4372415..900a326896 100644
--- a/src/mapping.c
+++ b/src/mapping.c
@@ -2,11 +2,11 @@
 || This file is part of Pike. For copyright information see COPYRIGHT.
 || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
 || for more information.
-|| $Id: mapping.c,v 1.177 2004/03/16 14:09:23 mast Exp $
+|| $Id: mapping.c,v 1.178 2004/03/22 19:35:44 mast Exp $
 */
 
 #include "global.h"
-RCSID("$Id: mapping.c,v 1.177 2004/03/16 14:09:23 mast Exp $");
+RCSID("$Id: mapping.c,v 1.178 2004/03/22 19:35:44 mast Exp $");
 #include "main.h"
 #include "object.h"
 #include "mapping.h"
@@ -1093,7 +1093,7 @@ PMOD_EXPORT void mapping_string_insert_string(struct mapping *m,
 }
 
 PMOD_EXPORT struct svalue *simple_mapping_string_lookup(struct mapping *m,
-					    char *p)
+							const char *p)
 {
   struct pike_string *tmp;
   if((tmp=findstring(p)))
diff --git a/src/mapping.h b/src/mapping.h
index 7bdd55de92..c71565e540 100644
--- a/src/mapping.h
+++ b/src/mapping.h
@@ -2,7 +2,7 @@
 || This file is part of Pike. For copyright information see COPYRIGHT.
 || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
 || for more information.
-|| $Id: mapping.h,v 1.52 2004/02/10 22:20:29 mast Exp $
+|| $Id: mapping.h,v 1.53 2004/03/22 19:35:44 mast Exp $
 */
 
 #ifndef MAPPING_H
@@ -132,7 +132,7 @@ PMOD_EXPORT void mapping_string_insert_string(struct mapping *m,
 				  struct pike_string *p,
 				  struct pike_string *val);
 PMOD_EXPORT struct svalue *simple_mapping_string_lookup(struct mapping *m,
-					    char *p);
+							const char *p);
 PMOD_EXPORT struct svalue *mapping_mapping_lookup(struct mapping *m,
 				      struct svalue *key1,
 				      struct svalue *key2,
-- 
GitLab