diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-04-06 18:06:58 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-04-06 18:10:39 +0530 |
commit | 59831e558edccc86338d0fb24d28025ec6159cc1 (patch) | |
tree | ddb02a0514c173233d5970be23126c676dfb4cdf /src | |
parent | 53a9bd75b4935cecd25edae72ad2f028013d8648 (diff) |
meson: split ./include
Diffstat (limited to 'src')
-rw-r--r-- | src/libnpass/gpg.c | 4 | ||||
-rw-r--r-- | src/libnpass/libnpass.c | 6 | ||||
-rw-r--r-- | src/libnpass/util.c | 1 | ||||
-rw-r--r-- | src/npass/npass.c | 2 |
4 files changed, 8 insertions, 5 deletions
diff --git a/src/libnpass/gpg.c b/src/libnpass/gpg.c index 574a492..0b90b33 100644 --- a/src/libnpass/gpg.c +++ b/src/libnpass/gpg.c @@ -4,8 +4,8 @@ #include <gpgme.h> -#include "gpg.h" -#include "util.h" +#include "libnpass/gpg.h" +#include "libnpass/util.h" #define fail_if_err(err) \ if (err) { \ diff --git a/src/libnpass/libnpass.c b/src/libnpass/libnpass.c index 72e51df..14f4737 100644 --- a/src/libnpass/libnpass.c +++ b/src/libnpass/libnpass.c @@ -8,9 +8,11 @@ #include <termios.h> #include <stdio.h> -#include "libnpass.h" +#include "libnpass/libnpass.h" +#include "libnpass/gpg.h" +#include "libnpass/util.h" + #include "util.h" -#include "gpg.h" #define DEF_PASS_DIR "pass" #define FPR_MAX 256 diff --git a/src/libnpass/util.c b/src/libnpass/util.c index 8e3a108..9164354 100644 --- a/src/libnpass/util.c +++ b/src/libnpass/util.c @@ -6,6 +6,7 @@ #include <unistd.h> #include <libgen.h> +#include "libnpass/util.h" #include "util.h" int r_mkdir(const char *path, mode_t mode) diff --git a/src/npass/npass.c b/src/npass/npass.c index 8aacc14..bde34de 100644 --- a/src/npass/npass.c +++ b/src/npass/npass.c @@ -4,7 +4,7 @@ #include <stdlib.h> #include <errno.h> -#include "libnpass.h" +#include "libnpass/libnpass.h" #include "util.h" void print_usage(void); |