aboutsummaryrefslogtreecommitdiffstats
path: root/src/passphrase.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/passphrase.h')
-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