Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 78e9ebc

Browse files
committed
The future is now (2019 edition).
This year, we accidentally shipped NDK r20beta1 first :-( Bug: android/ndk#932 Test: builds Change-Id: Id66a16ea09e7928843e61612fbdef09e72610d49
1 parent 10935e0 commit 78e9ebc

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

libc/include/android/fdsan.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,21 +128,21 @@ enum android_fdsan_owner_type {
128128
/*
129129
* Create an owner tag with the specified type and least significant 56 bits of tag.
130130
*/
131-
uint64_t android_fdsan_create_owner_tag(enum android_fdsan_owner_type type, uint64_t tag) __INTRODUCED_IN_FUTURE __attribute__((__weak__));
131+
uint64_t android_fdsan_create_owner_tag(enum android_fdsan_owner_type type, uint64_t tag) __INTRODUCED_IN(29) __attribute__((__weak__));
132132

133133
/*
134134
* Exchange a file descriptor's tag.
135135
*
136136
* Logs and aborts if the fd's tag does not match expected_tag.
137137
*/
138-
void android_fdsan_exchange_owner_tag(int fd, uint64_t expected_tag, uint64_t new_tag) __INTRODUCED_IN_FUTURE __attribute__((__weak__));
138+
void android_fdsan_exchange_owner_tag(int fd, uint64_t expected_tag, uint64_t new_tag) __INTRODUCED_IN(29) __attribute__((__weak__));
139139

140140
/*
141141
* Close a file descriptor with a tag, and resets the tag to 0.
142142
*
143143
* Logs and aborts if the tag is incorrect.
144144
*/
145-
int android_fdsan_close_with_tag(int fd, uint64_t tag) __INTRODUCED_IN_FUTURE __attribute__((__weak__));
145+
int android_fdsan_close_with_tag(int fd, uint64_t tag) __INTRODUCED_IN(29) __attribute__((__weak__));
146146

147147
/*
148148
* Get a file descriptor's current owner tag.
@@ -180,7 +180,7 @@ enum android_fdsan_error_level {
180180
/*
181181
* Get the error level.
182182
*/
183-
enum android_fdsan_error_level android_fdsan_get_error_level() __INTRODUCED_IN_FUTURE __attribute__((__weak__));
183+
enum android_fdsan_error_level android_fdsan_get_error_level() __INTRODUCED_IN(29) __attribute__((__weak__));
184184

185185
/*
186186
* Set the error level and return the previous state.
@@ -195,6 +195,6 @@ enum android_fdsan_error_level android_fdsan_get_error_level() __INTRODUCED_IN_F
195195
* value, and so should probably only be called in single-threaded contexts
196196
* (e.g. postfork).
197197
*/
198-
enum android_fdsan_error_level android_fdsan_set_error_level(enum android_fdsan_error_level new_level) __INTRODUCED_IN_FUTURE __attribute__((__weak__));
198+
enum android_fdsan_error_level android_fdsan_set_error_level(enum android_fdsan_error_level new_level) __INTRODUCED_IN(29) __attribute__((__weak__));
199199

200200
__END_DECLS

libc/include/resolv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ int res_query(const char* __name, int __class, int __type, u_char* __answer, int
6060
int res_search(const char* __name, int __class, int __type, u_char* __answer, int __answer_size);
6161

6262
#define res_randomid __res_randomid
63-
u_int __res_randomid(void) __INTRODUCED_IN_FUTURE;
63+
u_int __res_randomid(void) __INTRODUCED_IN(29);
6464

6565
__END_DECLS
6666

libc/include/stdlib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ lldiv_t lldiv(long long __numerator, long long __denominator) __attribute_const_
154154
*
155155
* Returns the number of samples written to `__averages` (at most 3), and returns -1 on failure.
156156
*/
157-
int getloadavg(double __averages[], int __n) __INTRODUCED_IN_FUTURE;
157+
int getloadavg(double __averages[], int __n) __INTRODUCED_IN(29);
158158

159159
/* BSD compatibility. */
160160
const char* getprogname(void) __INTRODUCED_IN(21);

libc/include/time.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ time_t timelocal(struct tm* __tm) __INTRODUCED_IN(12);
109109
time_t timegm(struct tm* __tm) __INTRODUCED_IN(12);
110110

111111
#define TIME_UTC 1
112-
int timespec_get(struct timespec* __ts, int __base) __INTRODUCED_IN_FUTURE;
112+
int timespec_get(struct timespec* __ts, int __base) __INTRODUCED_IN(29);
113113

114114
__END_DECLS
115115

0 commit comments

Comments
 (0)