Merge "Deprecate readdir_r."

am: 73871ad09b

Change-Id: I4ffafc2d8b75888721b406c5596652c09164c684
This commit is contained in:
Elliott Hughes 2018-01-23 21:58:53 +00:00 committed by android-build-merger
commit f9e87abf4a

View file

@ -80,8 +80,8 @@ DIR* opendir(const char* __path);
DIR* fdopendir(int __dir_fd);
struct dirent* readdir(DIR* __dir);
struct dirent64* readdir64(DIR* __dir) __INTRODUCED_IN(21);
int readdir_r(DIR* __dir, struct dirent* __entry, struct dirent** __buffer);
int readdir64_r(DIR* __dir, struct dirent64* __entry, struct dirent64** __buffer) __INTRODUCED_IN(21);
int readdir_r(DIR* __dir, struct dirent* __entry, struct dirent** __buffer) __attribute__((__deprecated__("readdir_r is deprecated; use readdir instead")));
int readdir64_r(DIR* __dir, struct dirent64* __entry, struct dirent64** __buffer) __INTRODUCED_IN(21) __attribute__((__deprecated__("readdir64_r is deprecated; use readdir64 instead")));
int closedir(DIR* __dir);
void rewinddir(DIR* __dir);
void seekdir(DIR* __dir, long __location) __INTRODUCED_IN(23);