aboutsummaryrefslogtreecommitdiff
path: root/src/libnpass/libnpass.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnpass/libnpass.c')
-rw-r--r--src/libnpass/libnpass.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libnpass/libnpass.c b/src/libnpass/libnpass.c
index 513b739..edeb4af 100644
--- a/src/libnpass/libnpass.c
+++ b/src/libnpass/libnpass.c
@@ -1,5 +1,3 @@
-#include <sys/stat.h>
-
#include <dirent.h>
#include <errno.h>
#include <libgen.h>
@@ -7,6 +5,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/stat.h>
#include <termios.h>
#include <unistd.h>
@@ -20,7 +19,7 @@
#define FPR_MAX NAME_MAX
static char pass_dir[PATH_MAX] = {0};
-const char *pass_gen_set[] = {
+static const char *pass_gen_set[] = {
"0123456789",
"0123456789"