summaryrefslogtreecommitdiff
path: root/source4/web_server/ejs/ejs.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/web_server/ejs/ejs.c')
-rw-r--r--source4/web_server/ejs/ejs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/web_server/ejs/ejs.c b/source4/web_server/ejs/ejs.c
index 2d85ad1330..4f5eb6b129 100644
--- a/source4/web_server/ejs/ejs.c
+++ b/source4/web_server/ejs/ejs.c
@@ -754,7 +754,7 @@ MprVar *ejsGetReturnValue(EjsId eid)
* or "[]".
*/
-void ejsDefineCFunction(EjsId eid, char *functionName, MprCFunction fn,
+void ejsDefineCFunction(EjsId eid, const char *functionName, MprCFunction fn,
void *thisPtr, int flags)
{
if (eid < 0) {
@@ -793,7 +793,7 @@ void ejsDefineStringCFunction(EjsId eid, const char *functionName,
* Body should not contain braces.
*/
-void ejsDefineFunction(EjsId eid, char *functionName, char *args, char *body)
+void ejsDefineFunction(EjsId eid, const char *functionName, char *args, char *body)
{
MprVar v;