summaryrefslogtreecommitdiff
path: root/include/dirent.h
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-04-21 18:39:36 +0200
committerAnton Kling <anton@kling.gg>2024-04-21 19:29:50 +0200
commit821eb5ff9ed60d4b1c7a50ebf406f22bc0da9bd4 (patch)
tree4562261e5bd41e215c277998f20d736d28a33430 /include/dirent.h
parenta8959b3da1b160c84da6ead6f12188b1824d76e6 (diff)
LibC: Add different isX() functions
Diffstat (limited to 'include/dirent.h')
-rw-r--r--include/dirent.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/dirent.h b/include/dirent.h
index 153d36a..fd2eace 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -9,9 +9,6 @@
#include <unistd.h>
#endif
-#define S_ISREG(_m) (_m & (STAT_REG))
-#define S_ISDIR(_m) (_m & (STAT_DIR))
-
struct dirent {
ino_t d_ino; // File serial number.
char d_name[PATH_MAX]; // Filename string of entry.