diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-09-07 13:31:15 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:05:26 -0500 |
commit | 6cf69fee189857ae6f85cd3f81a6a58364839942 (patch) | |
tree | 06d80ff7f9c730a0ae70526f94d88acea800eccd /source4/smbd | |
parent | bd5a802a26f427779663a3de5f6d49f352b7c473 (diff) | |
download | samba-6cf69fee189857ae6f85cd3f81a6a58364839942.tar.gz samba-6cf69fee189857ae6f85cd3f81a6a58364839942.tar.bz2 samba-6cf69fee189857ae6f85cd3f81a6a58364839942.zip |
r24994: Fix some C++ warnings.
(This used to be commit 925abf74fa1ed5ae726bae8781ec549302786b39)
Diffstat (limited to 'source4/smbd')
-rw-r--r-- | source4/smbd/process_standard.c | 2 | ||||
-rw-r--r-- | source4/smbd/server.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/smbd/process_standard.c b/source4/smbd/process_standard.c index b9a245d140..07fdccdb36 100644 --- a/source4/smbd/process_standard.c +++ b/source4/smbd/process_standard.c @@ -191,7 +191,7 @@ static void standard_new_task(struct event_context *ev, /* called when a task goes down */ -static void standard_terminate(struct event_context *ev, const char *reason) +_NORETURN_ static void standard_terminate(struct event_context *ev, const char *reason) { DEBUG(2,("standard_terminate: reason[%s]\n",reason)); diff --git a/source4/smbd/server.c b/source4/smbd/server.c index 1a90592fcd..78f39f7fa7 100644 --- a/source4/smbd/server.c +++ b/source4/smbd/server.c @@ -168,7 +168,7 @@ static void server_stdin_handler(struct event_context *event_ctx, struct fd_even /* die if the user selected maximum runtime is exceeded */ -static void max_runtime_handler(struct event_context *ev, struct timed_event *te, +_NORETURN_ static void max_runtime_handler(struct event_context *ev, struct timed_event *te, struct timeval t, void *private) { const char *binary_name = private; |