diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libnpass/gpg.h (renamed from include/gpg.h) | 0 | ||||
-rw-r--r-- | include/libnpass/libnpass.h (renamed from include/libnpass.h) | 0 | ||||
-rw-r--r-- | include/libnpass/util.h | 5 | ||||
-rw-r--r-- | include/util.h | 10 |
4 files changed, 5 insertions, 10 deletions
diff --git a/include/gpg.h b/include/libnpass/gpg.h index f5053bf..f5053bf 100644 --- a/include/gpg.h +++ b/include/libnpass/gpg.h diff --git a/include/libnpass.h b/include/libnpass/libnpass.h index d4b7fb4..d4b7fb4 100644 --- a/include/libnpass.h +++ b/include/libnpass/libnpass.h diff --git a/include/libnpass/util.h b/include/libnpass/util.h new file mode 100644 index 0000000..ebe97b1 --- /dev/null +++ b/include/libnpass/util.h @@ -0,0 +1,5 @@ +#include <stdlib.h> + +int r_mkdir(const char *path, mode_t mode); +int r_rmdir(const char *prefix_path, char *rm_path); +void util_strtrim(char *s); diff --git a/include/util.h b/include/util.h index f36965a..b6c64e0 100644 --- a/include/util.h +++ b/include/util.h @@ -1,7 +1,4 @@ -#ifndef UTIL_H - #include <stdio.h> -#include <stdlib.h> #define err_die(r, ...) {\ fprintf(stderr, "%s:%d: ", __FILE__, __LINE__); \ @@ -9,10 +6,3 @@ fputc('\n', stderr); \ return r; \ } - -int r_mkdir(const char *path, mode_t mode); -int r_rmdir(const char *prefix_path, char *rm_path); -void util_strtrim(char *s); - -#define UTIL_H -#endif |