aboutsummaryrefslogtreecommitdiff
path: root/libc/include/unistd.h
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2016-04-29 13:45:25 -0700
committerJosh Gao <jmgao@google.com>2016-04-29 16:39:50 -0700
commit34c599a8b0b04f66b065c4d84b809f74dd44382d (patch)
tree3f7e5541c600bb4f6f3f733f68d6ae697076ca86 /libc/include/unistd.h
parent14adff1cfa06a3d4d3281a9bf7848b556d84c20d (diff)
downloadbionic-34c599a8b0b04f66b065c4d84b809f74dd44382d.tar.gz
Add __INTRODUCED_IN_FUTURE for unreleased APIs.
Future API levels aren't known (e.g. 25 could be a maintenance release of N that doesn't contain any bionic updates), so use a placeholder macro that we can find and replace with the actual API level before each release. Bug: http://b/28178111 Change-Id: I667fe53ea1ac49b64135170fc30d5dbe9df94e29
Diffstat (limited to 'libc/include/unistd.h')
-rw-r--r--libc/include/unistd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/include/unistd.h b/libc/include/unistd.h
index 937a8732b..6b5ef76ce 100644
--- a/libc/include/unistd.h
+++ b/libc/include/unistd.h
@@ -288,8 +288,8 @@ __errordecl(__readlinkat_dest_size_error, "readlinkat called with size bigger th
__errordecl(__readlinkat_size_toobig_error, "readlinkat called with size > SSIZE_MAX");
extern ssize_t __readlinkat_real(int dirfd, const char*, char*, size_t) __RENAME(readlinkat);
-extern int getdomainname(char*, size_t) __INTRODUCED_IN(25);
-extern int setdomainname(const char*, size_t) __INTRODUCED_IN(25);
+extern int getdomainname(char*, size_t) __INTRODUCED_IN_FUTURE;
+extern int setdomainname(const char*, size_t) __INTRODUCED_IN_FUTURE;
#if defined(__BIONIC_FORTIFY)