From 9bf75cee19b8d60d2b4f6260a8c2322cc8ca11db Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 27 Jan 2021 15:27:56 -0500 Subject: dir: New DIR* facade --- util.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'util.h') diff --git a/util.h b/util.h index 15e983f..be696b6 100644 --- a/util.h +++ b/util.h @@ -21,7 +21,6 @@ #ifndef BFS_UTIL_H #define BFS_UTIL_H -#include #include #include #include @@ -114,11 +113,6 @@ ? BFS_FLEX_LB(type, member, length) \ : BFS_FLEX_MAX(sizeof(type), BFS_FLEX_LB(type, member, length))) -/** - * readdir() wrapper that makes error handling cleaner. - */ -int xreaddir(DIR *dir, struct dirent **de); - /** * readlinkat() wrapper that dynamically allocates the result. * -- cgit v1.2.3