diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2010-01-05 20:17:13 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2010-01-05 20:17:13 +0000 |
| commit | c4ecd13b77745800707a3f1b958683eee566b5d1 (patch) | |
| tree | 68dee7aee20e510b464264523b024655b75319ed /include | |
| parent | a573c11cf5c42be785c775d6087d1dfae90e87bf (diff) | |
Notes
Diffstat (limited to 'include')
| -rw-r--r-- | include/dirent.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/dirent.h b/include/dirent.h index 8d7e5c10c67ef..375a3d2301b7b 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -93,9 +93,11 @@ typedef void * DIR; #ifndef _KERNEL __BEGIN_DECLS +#if __POSIX_VISIBLE >= 200809 || __XSI_VISIBLE >= 700 +int alphasort(const struct dirent **, const struct dirent **); +#endif #if __BSD_VISIBLE DIR *__opendir2(const char *, int); -int alphasort(const struct dirent **, const struct dirent **); int getdents(int, char *, int); int getdirentries(int, char *, int, long *); #endif @@ -107,7 +109,7 @@ struct dirent * int readdir_r(DIR *, struct dirent *, struct dirent **); #endif void rewinddir(DIR *); -#if __BSD_VISIBLE +#if __POSIX_VISIBLE >= 200809 || __XSI_VISIBLE >= 700 int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct dirent **, const struct dirent **)); |
