aboutsummaryrefslogtreecommitdiffstats
path: root/src/passphrase.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/passphrase.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 '')
-rw-r--r--src/passphrase.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/passphrase.h b/src/passphrase.h
index 160e334..18b84ae 100644
--- a/src/passphrase.h
+++ b/src/passphrase.h
@@ -16,10 +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 <stdlib.h>
-#include <stdio.h>
-#include <termios.h>
-#include <unistd.h>
+#ifndef __PASSPHRASE_H__
+#define __PASSPHRASE_H__
/**
@@ -32,10 +30,13 @@ char* get_passphrase(void);
/**
* Disable echoing and do anything else to the terminal settnings `get_passphrase` requires
*/
-void disable_echo();
+void disable_echo(void);
/**
* Undo the actions of `disable_echo`
*/
-void reenable_echo();
+void reenable_echo(void);
+
+
+#endif