aboutsummaryrefslogtreecommitdiffstats
path: root/info/libpassphrase.texinfo
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-07 18:33:12 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-07 18:33:12 +0200
commitf822e622bb4a112e38dc74bf11f1b3a1e6e066f2 (patch)
tree384916009aa79f9c80d60d9f874a028641ba8b62 /info/libpassphrase.texinfo
parentfix warnings (diff)
downloadlibpassphrase-f822e622bb4a112e38dc74bf11f1b3a1e6e066f2.tar.gz
libpassphrase-f822e622bb4a112e38dc74bf11f1b3a1e6e066f2.tar.bz2
libpassphrase-f822e622bb4a112e38dc74bf11f1b3a1e6e066f2.tar.xz
add test + fix example in info manual1396888621
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'info/libpassphrase.texinfo')
-rw-r--r--info/libpassphrase.texinfo4
1 files changed, 3 insertions, 1 deletions
diff --git a/info/libpassphrase.texinfo b/info/libpassphrase.texinfo
index 5136d20..7eaf9a5 100644
--- a/info/libpassphrase.texinfo
+++ b/info/libpassphrase.texinfo
@@ -149,11 +149,13 @@ been disabled.
@example
#include <passphrase.h> /* For libpassphrase */
#include <stdio.h> /* For output */
+#include <stdlib.h> /* For free */
int main(int argc, char** argv)
@{
/* Variables for the passphrase */
- char* passphrase, passphrase_;
+ char* passphrase;
+ char* passphrase_;
/* Hide the passphrase */
passphrase_disable_echo();