From: Volker Lendecke Date: Tue, 17 Nov 2009 14:15:35 +0000 (+0100) Subject: s3: Fix the build on Solaris X-Git-Tag: tdb-1.2.0~61 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b1ed9a8963844bbc80210cf108d491a47b5029a7;p=thirdparty%2Fsamba.git s3: Fix the build on Solaris --- diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c index d7fcc4b4e3c..fb4857a1a51 100644 --- a/source3/libsmb/clifile.c +++ b/source3/libsmb/clifile.c @@ -121,7 +121,7 @@ static void cli_posix_link_internal_done(struct tevent_req *subreq) { NTSTATUS status = cli_trans_recv(subreq, NULL, NULL, 0, NULL, NULL, 0, NULL, NULL, 0, NULL); - return tevent_req_simple_finish_ntstatus(subreq, status); + tevent_req_simple_finish_ntstatus(subreq, status); } static struct tevent_req *cli_posix_link_internal_send(TALLOC_CTX *mem_ctx, @@ -947,7 +947,7 @@ static void cli_posix_chown_chmod_internal_done(struct tevent_req *subreq) { NTSTATUS status = cli_trans_recv(subreq, NULL, NULL, 0, NULL, NULL, 0, NULL, NULL, 0, NULL); - return tevent_req_simple_finish_ntstatus(subreq, status); + tevent_req_simple_finish_ntstatus(subreq, status); } static struct tevent_req *cli_posix_chown_chmod_internal_send(TALLOC_CTX *mem_ctx, @@ -1845,7 +1845,7 @@ static void cli_nt_delete_on_close_done(struct tevent_req *subreq) { NTSTATUS status = cli_trans_recv(subreq, NULL, NULL, 0, NULL, NULL, 0, NULL, NULL, 0, NULL); - return tevent_req_simple_finish_ntstatus(subreq, status); + tevent_req_simple_finish_ntstatus(subreq, status); } struct tevent_req *cli_nt_delete_on_close_send(TALLOC_CTX *mem_ctx, @@ -2451,7 +2451,7 @@ static void cli_ftruncate_done(struct tevent_req *subreq) { NTSTATUS status = cli_trans_recv(subreq, NULL, NULL, 0, NULL, NULL, 0, NULL, NULL, 0, NULL); - return tevent_req_simple_finish_ntstatus(subreq, status); + tevent_req_simple_finish_ntstatus(subreq, status); } struct tevent_req *cli_ftruncate_send(TALLOC_CTX *mem_ctx, @@ -2976,7 +2976,7 @@ static void cli_posix_unlock_internal_done(struct tevent_req *subreq) { NTSTATUS status = cli_trans_recv(subreq, NULL, NULL, 0, NULL, NULL, 0, NULL, NULL, 0, NULL); - return tevent_req_simple_finish_ntstatus(subreq, status); + tevent_req_simple_finish_ntstatus(subreq, status); } static struct tevent_req *cli_posix_lock_internal_send(TALLOC_CTX *mem_ctx, @@ -4772,7 +4772,7 @@ static void cli_posix_unlink_internal_done(struct tevent_req *subreq) { NTSTATUS status = cli_trans_recv(subreq, NULL, NULL, 0, NULL, NULL, 0, NULL, NULL, 0, NULL); - return tevent_req_simple_finish_ntstatus(subreq, status); + tevent_req_simple_finish_ntstatus(subreq, status); } static struct tevent_req *cli_posix_unlink_internal_send(TALLOC_CTX *mem_ctx, diff --git a/source3/libsmb/clifsinfo.c b/source3/libsmb/clifsinfo.c index 00fd47264b2..3e9740d1534 100644 --- a/source3/libsmb/clifsinfo.c +++ b/source3/libsmb/clifsinfo.c @@ -208,7 +208,7 @@ static void cli_set_unix_extensions_capabilities_done( { NTSTATUS status = cli_trans_recv(subreq, NULL, NULL, 0, NULL, NULL, 0, NULL, NULL, 0, NULL); - return tevent_req_simple_finish_ntstatus(subreq, status); + tevent_req_simple_finish_ntstatus(subreq, status); } NTSTATUS cli_set_unix_extensions_capabilities_recv(struct tevent_req *req)