diff options
author | Elliott Hughes <enh@google.com> | 2019-10-03 16:09:04 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2019-10-03 16:09:04 -0700 |
commit | f106a391d3912a542e7f99a27d8860af5a69fdc4 (patch) | |
tree | f8b3aa468e462e1f1a87ae46d07cf232e9ae5545 /libc/include/unistd.h | |
parent | b29454794c48faed61987df172993855201343e6 (diff) | |
download | bionic-f106a391d3912a542e7f99a27d8860af5a69fdc4.tar.gz |
Remove __INTRODUCED_IN for obsolete API levels.
The NDK only supports >= 16, so remove anything older than that to avoid
giving the misleading impression that such old targets are still
supported.
(This change doesn't touch <unistd.h>. I'll follow up with that once the
outstanding FORTIFY changes to that file are in.)
Test: builds
Change-Id: I6cc6ecdb99fe228a4afa71f78e5fd45309ba9786
Diffstat (limited to 'libc/include/unistd.h')
-rw-r--r-- | libc/include/unistd.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/include/unistd.h b/libc/include/unistd.h index 9000407c3..9766b36d0 100644 --- a/libc/include/unistd.h +++ b/libc/include/unistd.h @@ -214,7 +214,7 @@ int fchdir(int __fd); int rmdir(const char* __path); int pipe(int __fds[2]); #if defined(__USE_GNU) -int pipe2(int __fds[2], int __flags) __INTRODUCED_IN(9); +int pipe2(int __fds[2], int __flags); #endif int chroot(const char* __path); int symlink(const char* __old_path, const char* __new_path); @@ -242,7 +242,7 @@ int dup(int __old_fd); int dup2(int __old_fd, int __new_fd); int dup3(int __old_fd, int __new_fd, int __flags) __INTRODUCED_IN(21); int fsync(int __fd); -int fdatasync(int __fd) __INTRODUCED_IN(9); +int fdatasync(int __fd); /* See https://android.googlesource.com/platform/bionic/+/master/docs/32-bit-abi.md */ #if defined(__USE_FILE_OFFSET64) @@ -280,7 +280,7 @@ void* sbrk(ptrdiff_t __increment); int isatty(int __fd); char* ttyname(int __fd); -int ttyname_r(int __fd, char* __buf, size_t __buf_size) __INTRODUCED_IN(8); +int ttyname_r(int __fd, char* __buf, size_t __buf_size); int acct(const char* __path); |