diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2018-12-17 17:10:18 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2018-12-17 17:10:18 -0500 |
commit | e95ec269efdfbd97b5d0ee85dda38e7bae498181 (patch) | |
tree | 0dda13650a3438feece9bfde6e9e75ed2c2fb269 /util.h | |
parent | f5ba88ebfed936cfdee3a2ab3d6f690d291e9627 (diff) | |
download | bfs-e95ec269efdfbd97b5d0ee85dda38e7bae498181.tar.xz |
bftw: Move bftw_typeflag conversion out of util
Turns out incomplete enum types are a GNU C extension.
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -166,16 +166,6 @@ int xfaccessat(int fd, const char *path, int amode); bool is_nonexistence_error(int error); /** - * Convert a bfs_stat() mode to a bftw() typeflag. - */ -enum bftw_typeflag mode_to_typeflag(mode_t mode); - -/** - * Convert a directory entry to a bftw() typeflag. - */ -enum bftw_typeflag dirent_to_typeflag(const struct dirent *de); - -/** * Process a yes/no prompt. * * @return 1 for yes, 0 for no, and -1 for unknown. |