summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--eval.c2
-rw-r--r--main.c2
-rw-r--r--parse.c2
-rw-r--r--printf.c2
-rw-r--r--pwcache.c (renamed from passwd.c)2
-rw-r--r--pwcache.h (renamed from passwd.h)6
7 files changed, 9 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 94e9d0c..3163ab0 100644
--- a/Makefile
+++ b/Makefile
@@ -104,8 +104,8 @@ bfs: \
mtab.o \
opt.o \
parse.o \
- passwd.o \
printf.o \
+ pwcache.o \
spawn.o \
stat.o \
time.o \
diff --git a/eval.c b/eval.c
index bdf4d99..a4cb8f3 100644
--- a/eval.c
+++ b/eval.c
@@ -28,8 +28,8 @@
#include "exec.h"
#include "fsade.h"
#include "mtab.h"
-#include "passwd.h"
#include "printf.h"
+#include "pwcache.h"
#include "stat.h"
#include "time.h"
#include "trie.h"
diff --git a/main.c b/main.c
index 442f66a..b8063d8 100644
--- a/main.c
+++ b/main.c
@@ -40,7 +40,7 @@
* - dstring.[ch] (a dynamic string library)
* - fsade.[ch] (a facade over non-standard filesystem features)
* - mtab.[ch] (parses the system's mount table)
- * - passwd.[ch] (a cache for the user/group tables)
+ * - pwcache.[ch] (a cache for the user/group tables)
* - spawn.[ch] (spawns processes)
* - stat.[ch] (wraps stat(), or statx() on Linux)
* - time.[ch] (date/time handling utilities)
diff --git a/parse.c b/parse.c
index 7f4da32..d5c0128 100644
--- a/parse.c
+++ b/parse.c
@@ -31,8 +31,8 @@
#include "expr.h"
#include "fsade.h"
#include "mtab.h"
-#include "passwd.h"
#include "printf.h"
+#include "pwcache.h"
#include "spawn.h"
#include "stat.h"
#include "time.h"
diff --git a/printf.c b/printf.c
index 7bee795..18ea5ff 100644
--- a/printf.c
+++ b/printf.c
@@ -21,7 +21,7 @@
#include "dstring.h"
#include "expr.h"
#include "mtab.h"
-#include "passwd.h"
+#include "pwcache.h"
#include "stat.h"
#include "time.h"
#include "util.h"
diff --git a/passwd.c b/pwcache.c
index 2640c70..4fca134 100644
--- a/passwd.c
+++ b/pwcache.c
@@ -14,7 +14,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. *
****************************************************************************/
-#include "passwd.h"
+#include "pwcache.h"
#include "darray.h"
#include "trie.h"
#include <errno.h>
diff --git a/passwd.h b/pwcache.h
index a0b8c6b..23f8c9f 100644
--- a/passwd.h
+++ b/pwcache.h
@@ -18,8 +18,8 @@
* A caching wrapper for /etc/{passwd,group}.
*/
-#ifndef BFS_PASSWD_H
-#define BFS_PASSWD_H
+#ifndef BFS_PWCACHE_H
+#define BFS_PWCACHE_H
#include <grp.h>
#include <pwd.h>
@@ -114,4 +114,4 @@ const struct group *bfs_getgrgid(const struct bfs_groups *groups, gid_t gid);
*/
void bfs_free_groups(struct bfs_groups *groups);
-#endif // BFS_PASSWD_H
+#endif // BFS_PWCACHE_H