Remove old compatibility DIRECT macro.

Use struct dirent directly.  See parent commit.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
This commit is contained in:
Alejandro Colomar
2021-12-30 14:13:36 +01:00
committed by Serge Hallyn
parent 79e28694ef
commit 5450f9a904
4 changed files with 3 additions and 4 deletions

View File

@@ -33,7 +33,7 @@ int remove_tree (const char *root, bool remove_root)
{
char *new_name = NULL;
int err = 0;
struct DIRECT *ent;
struct dirent *ent;
struct stat sb;
DIR *dir;