diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-04-22 10:36:08 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-04-22 10:37:59 +0530 |
commit | 5284bd4aad0add8639fb49297474bbf2f1b7c1cd (patch) | |
tree | a70cc3887289ee90e20cc82a292bef9f5c2d77ea | |
parent | 46aacb6cf597eecde409ac65581fecbdf2af3958 (diff) |
libnpass/pass_gen_set: use static qualifier
-rw-r--r-- | src/libnpass/libnpass.c | 5 |
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" |