[PATCH] s4-smbd: Fix compiler warning in prefork smbd.

Tim Potter tpot at samba.org
Fri Apr 23 19:04:32 MDT 2010


My first patch in a while...


Tim.

---
 source4/smbd/process_prefork.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/source4/smbd/process_prefork.c b/source4/smbd/process_prefork.c
index 721856b..15b0f94 100644
--- a/source4/smbd/process_prefork.c
+++ b/source4/smbd/process_prefork.c
@@ -192,7 +192,7 @@ static void prefork_new_task(struct tevent_context *ev,
 
 
 /* called when a task goes down */
-_NORETURN_ static void prefork_terminate(struct tevent_context *ev, struct loadparm_context *lp_ctx, const char *reason) 
+static void prefork_terminate(struct tevent_context *ev, struct loadparm_context *lp_ctx, const char *reason) 
 {
 	DEBUG(2,("prefork_terminate: reason[%s]\n",reason));
 }
-- 
1.6.1



More information about the samba-technical mailing list