From cac079d033259e72f0d11e81856c0266eada3b7f Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 18 Sep 2020 17:36:56 -0400 Subject: stat: Rename bfs_stat_flag to _flags Flags enums should be plural. --- stat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stat.h') diff --git a/stat.h b/stat.h index 369ac4a..a32967b 100644 --- a/stat.h +++ b/stat.h @@ -62,7 +62,7 @@ const char *bfs_stat_field_name(enum bfs_stat_field field); /** * bfs_stat() flags. */ -enum bfs_stat_flag { +enum bfs_stat_flags { /** Follow symlinks (the default). */ BFS_STAT_FOLLOW = 0, /** Never follow symlinks. */ @@ -132,7 +132,7 @@ struct bfs_stat { * @return * 0 on success, -1 on error. */ -int bfs_stat(int at_fd, const char *at_path, enum bfs_stat_flag flags, struct bfs_stat *buf); +int bfs_stat(int at_fd, const char *at_path, enum bfs_stat_flags flags, struct bfs_stat *buf); /** * Get a particular time field from a bfs_stat() buffer. -- cgit v1.2.3