aboutsummaryrefslogtreecommitdiffstats
path: root/src/cerberus.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-10-30 20:21:22 +0100
committerMattias Andrée <maandree@operamail.com>2014-10-30 20:21:22 +0100
commitea266a3546a7fd48dbcb434dc66bfb7695a53b65 (patch)
treecbd5a9acd0e7cb6ca5f9dd0e33131eb7428d8340 /src/cerberus.h
parentm (diff)
downloadcerberus-ea266a3546a7fd48dbcb434dc66bfb7695a53b65.tar.gz
cerberus-ea266a3546a7fd48dbcb434dc66bfb7695a53b65.tar.bz2
cerberus-ea266a3546a7fd48dbcb434dc66bfb7695a53b65.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/cerberus.h')
-rw-r--r--src/cerberus.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cerberus.h b/src/cerberus.h
index 9960fa7..0488174 100644
--- a/src/cerberus.h
+++ b/src/cerberus.h
@@ -56,9 +56,11 @@ void exec_hook(int hook, int argc, char** argv);
void do_login(int argc, char** argv);
#if AUTH > 0
+void preexit(void);
char* read_passphrase(void);
#else
-#define read_passphrase NULL
+#define preexit() /* do nothing */
+#define read_passphrase() NULL
#endif
void destroy_passphrase(void) __attribute__((optimize("-O0")));