aboutsummaryrefslogtreecommitdiffstats
path: root/src/quit.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-11-18 16:56:25 +0100
committerMattias Andrée <maandree@operamail.com>2013-11-18 16:56:25 +0100
commit3fbb1dbd6ca47d047fb74d258269dabca285b7fb (patch)
tree0acb23724922cc2c26537081aa54dec288c8988f /src/quit.h
parentm (diff)
downloadlibpassphrase-3fbb1dbd6ca47d047fb74d258269dabca285b7fb.tar.gz
libpassphrase-3fbb1dbd6ca47d047fb74d258269dabca285b7fb.tar.bz2
libpassphrase-3fbb1dbd6ca47d047fb74d258269dabca285b7fb.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/quit.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/quit.h b/src/quit.h
index 93eb799..2487742 100644
--- a/src/quit.h
+++ b/src/quit.h
@@ -22,6 +22,12 @@
#include "passphrase.h"
+/* Number of seconds to sleep on error, so the user has time to read the error message */
+#ifndef ERROR_SLEEP
+#define ERROR_SLEEP 2
+#endif
+
+
/**
* Quit function for timeout
*
@@ -29,7 +35,6 @@
*/
void timeout_quit(int signal);
-
/**
* Quit function for user aborts
*