The branch, master has been updated via 56f2f2b lib/param: move function typedef to after forward declaration of struct loadparm_context via a51ee19 s3:smb2_sesssetup: remove now unneeded declaration of smb2srv_session_lookup_raw from d49b4aa s4-kdc: Use sdb in db-glue and hdb-samba4
https://git.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 56f2f2b86d53f0a6bcef1977b42561071ce4af00 Author: Brad Hards <br...@frogmouth.net> Date: Thu Jul 30 11:34:33 2015 +1000 lib/param: move function typedef to after forward declaration of struct loadparm_context Avoids a warning about the structure being declared inside the parameter list. Signed-off-by: Brad Hards <br...@frogmouth.net> Reviewed-by: Michael Adam <ob...@samba.org> Reviewed-by: Stefan Metzmacher <me...@samba.org> Autobuild-User(master): Michael Adam <ob...@samba.org> Autobuild-Date(master): Thu Jul 30 19:25:12 CEST 2015 on sn-devel-104 commit a51ee19dc9deb7dd9c3404011c55272db4626f98 Author: Michael Adam <ob...@samba.org> Date: Wed Jul 29 18:23:31 2015 +0200 s3:smb2_sesssetup: remove now unneeded declaration of smb2srv_session_lookup_raw Pair-Programmed-With: Stefan Metzmacher <me...@samba.org> Signed-off-by: Michael Adam <ob...@samba.org> Signed-off-by: Stefan Metzmacher <me...@samba.org> ----------------------------------------------------------------------- Summary of changes: lib/param/param.h | 4 ++-- source3/smbd/smbXsrv_session.c | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) Changeset truncated at 500 lines: diff --git a/lib/param/param.h b/lib/param/param.h index af321e1..25be9dd 100644 --- a/lib/param/param.h +++ b/lib/param/param.h @@ -37,8 +37,6 @@ struct param_section { struct param_context; struct smbsrv_connection; -typedef bool (*lpcfg_defaults_hook) (struct loadparm_context *); - #define Auto (2) #include "libds/common/roles.h" @@ -51,6 +49,8 @@ struct gensec_settings; struct bitmap; struct file_lists; +typedef bool (*lpcfg_defaults_hook) (struct loadparm_context *); + #ifdef CONFIG_H_IS_FROM_SAMBA #include "lib/param/param_proto.h" #include "lib/param/param_functions.h" diff --git a/source3/smbd/smbXsrv_session.c b/source3/smbd/smbXsrv_session.c index ff4f14f..17ba401 100644 --- a/source3/smbd/smbXsrv_session.c +++ b/source3/smbd/smbXsrv_session.c @@ -51,12 +51,6 @@ struct smbXsrv_session_table { } global; }; -static NTSTATUS smb2srv_session_lookup_raw(struct smbXsrv_session_table *table, - /* conn: optional */ - struct smbXsrv_connection *conn, - uint64_t session_id, NTTIME now, - struct smbXsrv_session **session); - static struct db_context *smbXsrv_session_global_db_ctx = NULL; NTSTATUS smbXsrv_session_global_init(void) -- Samba Shared Repository