aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mds-base.c4
-rw-r--r--src/mds-base.h12
2 files changed, 4 insertions, 12 deletions
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
@@ -192,14 +192,6 @@ 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
*