summaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2018-12-17 17:10:18 -0500
committerTavian Barnes <tavianator@tavianator.com>2018-12-17 17:10:18 -0500
commite95ec269efdfbd97b5d0ee85dda38e7bae498181 (patch)
tree0dda13650a3438feece9bfde6e9e75ed2c2fb269 /util.h
parentf5ba88ebfed936cfdee3a2ab3d6f690d291e9627 (diff)
downloadbfs-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.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/util.h b/util.h
index 413d289..e95b67d 100644
--- a/util.h
+++ b/util.h
@@ -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.