aboutsummaryrefslogtreecommitdiffstats
path: root/src/passphrase.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-12-04 22:46:14 +0100
committerMattias Andrée <maandree@operamail.com>2015-12-04 22:46:14 +0100
commita404abd969bdb1e32d81382a65c9d770f867862b (patch)
tree1cd885be2a9908ece8cca12f743b73c9b551e042 /src/passphrase.h
parentwhitespace + only use gcc pragmas if using gcc (diff)
downloadlibpassphrase-a404abd969bdb1e32d81382a65c9d770f867862b.tar.gz
libpassphrase-a404abd969bdb1e32d81382a65c9d770f867862b.tar.bz2
libpassphrase-a404abd969bdb1e32d81382a65c9d770f867862b.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/passphrase.h')
-rw-r--r--src/passphrase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passphrase.h b/src/passphrase.h
index e0537e8..85faffd 100644
--- a/src/passphrase.h
+++ b/src/passphrase.h
@@ -33,7 +33,7 @@ extern char* passphrase_read(void);
* @param ptr The password to wipe
* @param n The number of characters to wipe
*/
-extern void passphrase_wipe(volatile char* ptr, size_t n) __attribute__((optimize("-O0")));
+extern void passphrase_wipe(volatile char*, size_t);
/**
* Disable echoing and do anything else to the terminal settnings `passphrase_read` requires