diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-11-18 22:28:51 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-11-18 22:28:51 +0100 |
commit | 1a57451434b9941ea5497dba9017b715826608fd (patch) | |
tree | 4aa3e6d7aea29d91012e2822a78ccf743b060716 /src/passphrase.h | |
parent | m (diff) | |
download | libpassphrase-1a57451434b9941ea5497dba9017b715826608fd.tar.gz libpassphrase-1a57451434b9941ea5497dba9017b715826608fd.tar.bz2 libpassphrase-1a57451434b9941ea5497dba9017b715826608fd.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/passphrase.h')
-rw-r--r-- | src/passphrase.h | 13 |
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 |