white space
This commit is contained in:
parent
b4ec184199
commit
1cd065837c
|
@ -87,7 +87,7 @@ int scandir (const char *__dir,
|
||||||
int alphasort (const struct dirent **__a, const struct dirent **__b);
|
int alphasort (const struct dirent **__a, const struct dirent **__b);
|
||||||
/* File types for `d_type'. */
|
/* File types for `d_type'. */
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
DT_UNKNOWN = 0,
|
DT_UNKNOWN = 0,
|
||||||
# define DT_UNKNOWN DT_UNKNOWN
|
# define DT_UNKNOWN DT_UNKNOWN
|
||||||
DT_FIFO = 1,
|
DT_FIFO = 1,
|
||||||
|
@ -106,11 +106,10 @@ enum
|
||||||
# define DT_SOCK DT_SOCK
|
# define DT_SOCK DT_SOCK
|
||||||
DT_WHT = 14
|
DT_WHT = 14
|
||||||
# define DT_WHT DT_WHT
|
# define DT_WHT DT_WHT
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Convert between stat structure types and directory types. */
|
/* Convert between stat structure types and directory types. */
|
||||||
# define IFTODT(mode) (((mode) & 0170000) >> 12)
|
# define IFTODT(mode) (((mode) & 0170000) >> 12)
|
||||||
# define DTTOIF(dirtype) ((dirtype) << 12)
|
# define DTTOIF(dirtype) ((dirtype) << 12)
|
||||||
#endif /* _POSIX_SOURCE */
|
#endif /* _POSIX_SOURCE */
|
||||||
|
#endif /*_SYS_DIRENT_H*/
|
||||||
#endif
|
|
||||||
|
|
Loading…
Reference in New Issue