summaryrefslogtreecommitdiff
path: root/source4/web_server/ejs/ejs.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-05-27 14:07:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:07 -0500
commit38c2164f68514727140270821c569a106b705997 (patch)
tree5e5bf7247013a29cf611acf2aa31cf08644cf3fb /source4/web_server/ejs/ejs.h
parentaba7014e41b120e8c4bac5d5dab91655b46a2175 (diff)
downloadsamba-38c2164f68514727140270821c569a106b705997.tar.gz
samba-38c2164f68514727140270821c569a106b705997.tar.bz2
samba-38c2164f68514727140270821c569a106b705997.zip
r7023: reduced the number of warnings in building ejs and esp
(This used to be commit ef998f9f8fb9759e5a4572acb3f9038efc019e5e)
Diffstat (limited to 'source4/web_server/ejs/ejs.h')
-rw-r--r--source4/web_server/ejs/ejs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/web_server/ejs/ejs.h b/source4/web_server/ejs/ejs.h
index 60aa93a408..987810ad06 100644
--- a/source4/web_server/ejs/ejs.h
+++ b/source4/web_server/ejs/ejs.h
@@ -109,7 +109,7 @@ extern void *ejsGetThisPtr(EjsId eid);
extern MprVar *ejsGetReturnValue(EjsId eid);
extern int ejsGetLineNumber(EjsId eid);
extern int ejsParseArgs(int argc, char **argv, char *fmt, ...);
-extern void ejsSetErrorMsg(EjsId eid, const char* fmt, ...);
+extern void ejsSetErrorMsg(EjsId eid, const char* fmt, ...) PRINTF_ATTRIBUTE(2,3);
extern void ejsSetReturnValue(EjsId eid, MprVar value);
extern void ejsSetReturnString(EjsId eid, const char *str);