aboutsummaryrefslogtreecommitdiffstats
path: root/src/quit.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-11-18 22:28:51 +0100
committerMattias Andrée <maandree@operamail.com>2013-11-18 22:28:51 +0100
commit1a57451434b9941ea5497dba9017b715826608fd (patch)
tree4aa3e6d7aea29d91012e2822a78ccf743b060716 /src/quit.h
parentm (diff)
downloadlibpassphrase-1a57451434b9941ea5497dba9017b715826608fd.tar.gz
libpassphrase-1a57451434b9941ea5497dba9017b715826608fd.tar.bz2
libpassphrase-1a57451434b9941ea5497dba9017b715826608fd.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/quit.h')
-rw-r--r--src/quit.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/quit.h b/src/quit.h
index 2487742..d42c524 100644
--- a/src/quit.h
+++ b/src/quit.h
@@ -16,16 +16,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdio.h>
-#include <unistd.h>
-
-#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
+#ifndef __QUIT_H__
+#define __QUIT_H__
/**
@@ -42,3 +34,6 @@ void timeout_quit(int signal);
*/
void user_quit(int signal);
+
+#endif
+