diff options
Diffstat (limited to 'include/libnpass')
-rw-r--r-- | include/libnpass/gpg.h | 3 | ||||
-rw-r--r-- | include/libnpass/libnpass.h | 8 |
2 files changed, 6 insertions, 5 deletions
diff --git a/include/libnpass/gpg.h b/include/libnpass/gpg.h index f5053bf..752a0a7 100644 --- a/include/libnpass/gpg.h +++ b/include/libnpass/gpg.h @@ -1,6 +1,7 @@ -#include <stdio.h> #include <sys/types.h> +#include <stdio.h> + int gpg_key_validate(const char *fpr); int gpg_decrypt(FILE *pass_out, const char *pass_path); int gpg_encrypt(FILE *stream, const char *fpr, const char *pass, size_t n); diff --git a/include/libnpass/libnpass.h b/include/libnpass/libnpass.h index f1e3d74..d82de9c 100644 --- a/include/libnpass/libnpass.h +++ b/include/libnpass/libnpass.h @@ -1,8 +1,8 @@ -#include <stdio.h> #include <dirent.h> #include <linux/limits.h> +#include <stdio.h> -#define PASS_DEF_LEN 32 +#define PASS_DEF_LEN 32 typedef enum { PASS_GEN_DIGIT = 0, @@ -17,8 +17,8 @@ typedef enum { } pass_store_t; struct store { - char name[NAME_MAX]; - pass_store_t type; + char name[NAME_MAX]; + pass_store_t type; }; DIR *openstore(const char *spath); |