summaryrefslogtreecommitdiff
path: root/src/util/atom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/atom.c')
-rw-r--r--src/util/atom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/atom.c b/src/util/atom.c
index 4f69363..c47cb5c 100644
--- a/src/util/atom.c
+++ b/src/util/atom.c
@@ -54,7 +54,7 @@ static int reverseMapSize;
static Atom lastAtom;
static int
-Hash(char *string, int len)
+Hash(const char *string, int len)
{
int h;
@@ -147,7 +147,7 @@ NameEqual (const char *a, const char *b, int l)
#endif
weak Atom
-MakeAtom(char *string, unsigned len, int makeit)
+MakeAtom(const char *string, unsigned len, int makeit)
{
AtomListPtr a;
int hash;