dirfd() is now defined in compat.h as needed.

This commit is contained in:
Todd C. Miller
2004-06-01 18:59:28 +00:00
parent d55466c021
commit a79bb72689
2 changed files with 0 additions and 8 deletions

View File

@@ -47,10 +47,6 @@
#include "sudo.h"
#ifndef dirfd
# define dirfd(dirp) ((dirp)->dd_fd)
#endif
#ifndef lint
static const char rcsid[] = "$Sudo$";
#endif /* lint */

View File

@@ -74,10 +74,6 @@
#include "compat.h"
#ifndef dirfd
# define dirfd(dirp) ((dirp)->dd_fd)
#endif
#define ISDOT(dp) \
(dp->d_name[0] == '.' && (dp->d_name[1] == '\0' || \
(dp->d_name[1] == '.' && dp->d_name[2] == '\0')))