diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-04-30 13:54:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:05:25 -0500 |
commit | cf0f4ec073b694e43daeeddf9aab51cd3e51fd2b (patch) | |
tree | ca60b67aac5c2f5eaf6373ad7aaf7aee38079e18 /source4/lib/appweb | |
parent | ab758f383dfd03f3c51f647829f14ecca6a9807c (diff) | |
download | samba-cf0f4ec073b694e43daeeddf9aab51cd3e51fd2b.tar.gz samba-cf0f4ec073b694e43daeeddf9aab51cd3e51fd2b.tar.bz2 samba-cf0f4ec073b694e43daeeddf9aab51cd3e51fd2b.zip |
r15358: Fix some compiler warnings / type safety. Found by tcc
(This used to be commit 12ba42de5886f9f4f9b1698476557e0c217d06f3)
Diffstat (limited to 'source4/lib/appweb')
-rw-r--r-- | source4/lib/appweb/ejs/ejsLib.c | 4 | ||||
-rw-r--r-- | source4/lib/appweb/mpr/miniMpr.h | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/source4/lib/appweb/ejs/ejsLib.c b/source4/lib/appweb/ejs/ejsLib.c index af5ce52731..0dfc2e0ed2 100644 --- a/source4/lib/appweb/ejs/ejsLib.c +++ b/source4/lib/appweb/ejs/ejsLib.c @@ -64,8 +64,8 @@ static void *lockData; this is a workaround for the use of global variables in ejs */ struct ejs_state_ctx { - struct MprVar master; - struct MprArray *ejsList; + MprVar master; + MprArray *ejsList; }; void *ejs_save_state(void) diff --git a/source4/lib/appweb/mpr/miniMpr.h b/source4/lib/appweb/mpr/miniMpr.h index 0b2dc3490d..bf57d50abc 100644 --- a/source4/lib/appweb/mpr/miniMpr.h +++ b/source4/lib/appweb/mpr/miniMpr.h @@ -185,9 +185,6 @@ typedef char* MprStr; #ifndef __cplusplus typedef unsigned char uchar; -#ifndef __bool_true_false_are_defined -typedef int bool; -#endif #endif /* |