From e95ec269efdfbd97b5d0ee85dda38e7bae498181 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 17 Dec 2018 17:10:18 -0500 Subject: bftw: Move bftw_typeflag conversion out of util Turns out incomplete enum types are a GNU C extension. --- util.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'util.h') diff --git a/util.h b/util.h index 413d289..e95b67d 100644 --- a/util.h +++ b/util.h @@ -165,16 +165,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. * -- cgit v1.2.3