diff options
-rw-r--r-- | include/libnpass/libnpass.h | 2 | ||||
-rw-r--r-- | src/libnpass/libnpass.c | 2 | ||||
-rw-r--r-- | src/npass/npass.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/libnpass/libnpass.h b/include/libnpass/libnpass.h index 33e6831..310d634 100644 --- a/include/libnpass/libnpass.h +++ b/include/libnpass/libnpass.h @@ -21,7 +21,7 @@ struct store { pass_store_t type; }; -int readstore_all(const char *path, struct store **stor); +int pass_readstore_all(const char *path, struct store **stor); int pass_store_type(const char *spath); int pass_store_cmp(const void *vp1, const void *vp2); diff --git a/src/libnpass/libnpass.c b/src/libnpass/libnpass.c index 62cbc5e..c04a2ab 100644 --- a/src/libnpass/libnpass.c +++ b/src/libnpass/libnpass.c @@ -220,7 +220,7 @@ static int readstore(DIR *dirp, struct store *s) return 0; } -int readstore_all(const char *path, struct store **stor) +int pass_readstore_all(const char *path, struct store **stor) { int ret, size, len; DIR *dirp; diff --git a/src/npass/npass.c b/src/npass/npass.c index d42fc10..5f3ba6e 100644 --- a/src/npass/npass.c +++ b/src/npass/npass.c @@ -68,7 +68,7 @@ static int ls(const char *path, size_t depth) char *prefix; void *p; - slen = readstore_all(path, &stor); + slen = pass_readstore_all(path, &stor); if (slen <= 0) return -EPERM; |