r7002: added support for getting at loadparm config parameters via lpGet() in esp...
[samba.git] / source / web_server / ejs / ejs.c
index 2d85ad13300877247d5993cc50a27b5f323530ff..4f5eb6b1292302d4963c91f0208512eefded6ce2 100644 (file)
@@ -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;