diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2020-09-18 17:36:56 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2020-09-18 17:36:56 -0400 |
commit | cac079d033259e72f0d11e81856c0266eada3b7f (patch) | |
tree | eda002cc6970a7a82832e77e63b65b91f09e20ce /stat.h | |
parent | ccf75c74bdac06eec97a2a6a5228c2e706c121bd (diff) | |
download | bfs-cac079d033259e72f0d11e81856c0266eada3b7f.tar.xz |
stat: Rename bfs_stat_flag to _flags
Flags enums should be plural.
Diffstat (limited to 'stat.h')
-rw-r--r-- | stat.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. |