summaryrefslogtreecommitdiffstats
path: root/bin/sh/memalloc.h
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2009-12-24 18:41:14 +0000
committerjilles <jilles@FreeBSD.org>2009-12-24 18:41:14 +0000
commit8e458de8523a07bb3be5f06ed227236cb12be7f4 (patch)
tree3810323287749c3a09fadeeed64429a5bf2fbb4d /bin/sh/memalloc.h
parentff49e8168bd001a89cc6ca577b7b33399eb2c409 (diff)
downloadFreeBSD-src-8e458de8523a07bb3be5f06ed227236cb12be7f4.zip
FreeBSD-src-8e458de8523a07bb3be5f06ed227236cb12be7f4.tar.gz
sh: Constify various strings.
Most of this is adding const keywords, but setvar() in var.c had to be changed somewhat more.
Diffstat (limited to 'bin/sh/memalloc.h')
-rw-r--r--bin/sh/memalloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/memalloc.h b/bin/sh/memalloc.h
index 4652e54..187d4c8 100644
--- a/bin/sh/memalloc.h
+++ b/bin/sh/memalloc.h
@@ -51,7 +51,7 @@ extern int herefd;
pointer ckmalloc(size_t);
pointer ckrealloc(pointer, int);
void ckfree(pointer);
-char *savestr(char *);
+char *savestr(const char *);
pointer stalloc(int);
void stunalloc(pointer);
void setstackmark(struct stackmark *);
OpenPOWER on IntegriCloud