summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-08-29 09:42:36 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-08-29 09:42:36 +0000
commit337693457aedc14d611f041b457ef9e5571684c6 (patch)
treeedda38d34344e38d2a1ed40bbf4238258b525f3c /source3
parent558297b703fc29feb6e6fac205570f24b33d8b37 (diff)
downloadsamba-337693457aedc14d611f041b457ef9e5571684c6.tar.gz
samba-337693457aedc14d611f041b457ef9e5571684c6.tar.bz2
samba-337693457aedc14d611f041b457ef9e5571684c6.zip
Several compiler warning fixes + fix dependencies samtest
(This used to be commit b813761126249c3c0c0e38d2a3306d1d0c33c4eb)
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in2
-rw-r--r--source3/sam/sam_plugin.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 58e3857898..c132fe8221 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -222,7 +222,7 @@ SAM_STATIC_MODULES = sam/sam_plugin.o
SAM_OBJ = sam/account.o sam/get_set_account.o sam/get_set_group.o \
sam/get_set_domain.o sam/interface.o sam/api.o $(SAM_STATIC_MODULES)
-SAMTEST_OBJ = torture/samtest.o $(SAM_OBJ) $(LIB_OBJ) $(PARAM_OBJ) $(LIBSMB_OBJ) $(UBIQX_OBJ) $(LIB_OBJ) $(READLINE_OBJ)
+SAMTEST_OBJ = torture/samtest.o $(SAM_OBJ) $(LIB_OBJ) $(PARAM_OBJ) $(LIBSMB_OBJ) $(UBIQX_OBJ) $(READLINE_OBJ) lib/util_seaccess.o
GROUPDB_OBJ = groupdb/mapping.o
diff --git a/source3/sam/sam_plugin.c b/source3/sam/sam_plugin.c
index 56f8260544..c32acf3d3c 100644
--- a/source3/sam/sam_plugin.c
+++ b/source3/sam/sam_plugin.c
@@ -25,7 +25,7 @@
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_SAM
-NTSTATUS sam_init_plugin(SAM_CONTEXT *sam_context, SAM_METHODS **sam_method, const char *location)
+NTSTATUS sam_init_plugin(const SAM_CONTEXT *sam_context, SAM_METHODS **sam_method, const char *location)
{
void * dl_handle;
char *plugin_location, *plugin_name, *p;