aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-clipboard.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mds-clipboard.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/mds-clipboard.c b/src/mds-clipboard.c
index 8cd9bea..d7a943f 100644
--- a/src/mds-clipboard.c
+++ b/src/mds-clipboard.c
@@ -82,11 +82,6 @@ static size_t clipboard_used[CLIPBOARD_LEVELS] = { 0, 0, 0 };
*/
static clipitem_t* clipboard[CLIPBOARD_LEVELS];
-/**
- * Whether the server should free memory as soon as possible
- */
-static volatile sig_atomic_t danger = 0;
-
/**
@@ -338,20 +333,6 @@ int __attribute__((const)) reexec_failure_recover(void)
/**
- * This function is called when a signal that
- * signals that the system is running out of memory
- * has been received
- *
- * @param signo The signal that has been received
- */
-void received_danger(int signo)
-{
- (void) signo;
- danger = 1;
-}
-
-
-/**
* Perform the server's mission
*
* @return Non-zero on error