From aa7568432d24edba087891f58bcd2a882d141bfb Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 29 Aug 2014 18:06:27 +0200 Subject: m + info: mds-base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds-base.c | 4 ++-- src/mds-base.h | 12 ++---------- 2 files changed, 4 insertions(+), 12 deletions(-) (limited to 'src') diff --git a/src/mds-base.c b/src/mds-base.c index f676e66..4584670 100644 --- a/src/mds-base.c +++ b/src/mds-base.c @@ -281,7 +281,7 @@ int __attribute__((weak)) server_initialised(void) * * @param signo The signal that has been received */ -void received_noop(int signo) +static void __attribute__((const)) received_noop(int signo) { (void) signo; } @@ -327,7 +327,7 @@ void __attribute__((weak)) received_reexec(int signo) /** * This function is called when a signal that - * signals the server to re-exec has been received + * signals the server to terminate has been received * * When this function is invoked, it should set `terminating` to a non-zero value * diff --git a/src/mds-base.h b/src/mds-base.h index 89231bf..1ea132a 100644 --- a/src/mds-base.h +++ b/src/mds-base.h @@ -191,14 +191,6 @@ int connect_to_display(void); /* __attribute__((weak)) */ int server_initialised(void); /* __attribute__((weak)) */ -/** - * This function is called when an intraprocess signal - * that used to send a notification to a thread - * - * @param signo The signal that has been received - */ -void received_noop(int signo) __attribute__((weak, const)); - /** * This function should be implemented by the actual server implementation * if the server is multi-threaded @@ -207,7 +199,7 @@ void received_noop(int signo) __attribute__((weak, const)); * * @param signo The signal */ -void signal_all(int signo) __attribute__((weak)); +void signal_all(int signo); /* __attribute__((weak)) */ /** * This function is called when a signal that @@ -222,7 +214,7 @@ void received_reexec(int signo); /* __attribute__((weak)) */ /** * This function is called when a signal that - * signals the server to re-exec has been received + * signals the server to terminate has been received * * When this function is invoked, it should set `terminating` to a non-zero value * -- cgit v1.2.3-70-g09d2