Elliott Hughes
7dfa18a49f
Merge "Remove <signal.h> inlines for obsolete API levels."
2023-02-24 19:19:19 +00:00
Elliott Hughes
66734f0c35
Merge "Remove <sys/mman.h> inlines for obsolete API levels."
2023-02-24 19:19:13 +00:00
Elliott Hughes
d54d92c4fd
Merge "Remove <errno.h> inlines for obsolete API levels."
2023-02-24 19:18:38 +00:00
Elliott Hughes
b5ff68cf24
Remove a tautology from <bits/threads_inlines.h>.
...
The next NDK to take these headers only supports API 21 and later.
Test: treehugger
Change-Id: I31a07842a498e818ec8f16c217c365b100a5e05b
2023-02-24 01:02:24 +00:00
Elliott Hughes
19ed204031
Remove <sys/mman.h> inlines for obsolete API levels.
...
The next NDK to take these headers only supports API 21 and later.
Test: treehugger
Change-Id: I64baf933d3796f20dee5c1465ed58f8bb45394b5
2023-02-24 00:41:30 +00:00
Elliott Hughes
acaaab007c
Remove <errno.h> inlines for obsolete API levels.
...
The next NDK to take these headers only supports API 21 and later.
Test: treehugger
Change-Id: Ie9e9bc82612a326d9e608b0d5974231f4acc5638
2023-02-24 00:32:47 +00:00
Elliott Hughes
432a4afb1e
Remove <signal.h> inlines for obsolete API levels.
...
The next NDK to take these headers only supports API 21 and later.
Test: treehugger
Change-Id: I8fe617e6eb781629ddf0b98b0037a9b3e54c559c
2023-02-24 00:28:20 +00:00
Elliott Hughes
b890ff36d1
Merge "libc/include: remove easy __ANDROID_API__ tautologies."
2023-02-23 22:45:57 +00:00
Elliott Hughes
6ccb71ca0c
Merge "Remove <sys/statvfs.h> inlines for API level 19."
2023-02-23 18:55:04 +00:00
Elliott Hughes
f4ace9d634
libc/include: remove easy __ANDROID_API__ tautologies.
...
The next NDK to take these headers only supports API 21 and later, so
clean up some of the trivial cruft.
This doesn't include the remaining "legacy inlines", since they're a bit
more complicated. I'll remove those in later changes.
Test: treehugger
Change-Id: I94c32f6393dd3ae831165917303ea591222baa0d
2023-02-23 17:38:37 +00:00
Elliott Hughes
3c3736e1bd
Remove <sys/statvfs.h> inlines for API level 19.
...
API level 19 is no longer supported by the NDK.
While I'm here, let's remove the duplicated structure defintion (as
we've already done for `struct stat`).
Test: treehugger
Change-Id: I9d8286f9e7ba803f3131b6dcb0486ff1b0f9d5d1
2023-02-22 21:58:24 +00:00
Elliott Hughes
d3ebc2f7c4
Merge "Remove <stdlib.h> abs/labs/llabs inline for API level 19."
2023-02-21 21:14:49 +00:00
zijunzhao
3e39b3ac4a
Nullability check for glob module
...
Bugs: b/245972273
Test: adb shell
Change-Id: Ic631bfe3c70080f140bb1be13e98ab751ab52252
2023-02-19 22:33:27 +00:00
Elliott Hughes
5fb10ce72d
Merge "Remove <sys/wait.h> wait4() inline for API level 18."
2023-02-18 15:56:49 +00:00
Elliott Hughes
0572153fea
Merge "Add documentation for a couple of pthread functions."
2023-02-18 02:12:08 +00:00
Elliott Hughes
527d01221e
Remove <stdlib.h> abs/labs/llabs inline for API level 19.
...
API level 19 is no longer supported by the NDK.
Test: treehugger
Change-Id: I9fa1e9b3c492b3d3384e393994a7dddfdb35d805
2023-02-17 23:51:57 +00:00
Elliott Hughes
ed07723a34
Remove <sys/wait.h> wait4() inline for API level 18.
...
API level 18 is no longer supported by the NDK.
Test: treehugger
Change-Id: I526b628bf3aa9215c9832275f7eeaa15b52a107d
2023-02-17 23:41:55 +00:00
Elliott Hughes
8d8a911eab
Add documentation for a couple of pthread functions.
...
These cause great confusion, so explicitly point out that apps can't use
one, and probably want the other.
Bug: https://github.com/android/ndk/issues/1255
Test: N/A
Change-Id: I287e820dc45a8446e3c72c9a2e4007db76828e3b
2023-02-17 23:31:17 +00:00
Treehugger Robot
c83efcab83
Merge "Nullability check for fenv module"
2023-02-16 18:57:36 +00:00
Zijun Zhao
fa2ac8440d
Merge "Nullability check for swap module"
2023-02-16 17:49:28 +00:00
Treehugger Robot
f4fdf0a702
Merge "Nullability check for wctype module"
2023-02-16 03:26:23 +00:00
zijunzhao
37a136fc2c
Nullability check for fenv module
...
Bugs: b/245972273
Test: adb shell
Change-Id: Id930d187169820cf15bc9e5b4907a0984ee277ca
2023-02-16 01:41:55 +00:00
zijunzhao
b0fba720ff
Nullability check for swap module
...
Bugs: b/245972273
Test: adb shell
Change-Id: I75e7e50d9ca08b82551851f877af8b2d309137b4
2023-02-16 01:40:05 +00:00
zijunzhao
c0d5b4718e
Nullability check for wctype module
...
Bugs: b/245972273
Test: adb shell
Change-Id: Ic60a1b77e3f16bc9c3808ab4f772d6f174116a75
2023-02-15 23:24:40 +00:00
zijunzhao
557d9a553c
Nullability check for vfs module
...
Bugs: b/245972273
Test: adb shell
Change-Id: Icaaa69641f72a58326afbd6691c8df8f4e774363
2023-02-15 23:22:10 +00:00
zijunzhao
02c4ef4d78
Nullability check for string module
...
Bugs: b/245972273
Test: adb shell
Change-Id: I4c71bca1ff72553b27805722c3076ed105612a21
2023-02-14 20:47:10 +00:00
zijunzhao
d555a333c8
Nullability check for epoll module
...
Bugs: b/245972273
Test: adb shell
Change-Id: Ic09eb9c503992178b5f271f80208ea159ee040be
2023-02-14 02:27:20 +00:00
zijunzhao
38c5344446
Nullability check for signal module.
...
Bugs: b/245972273
Test: None
Change-Id: I958e7fd7836afd1e6ff9f2c808171faa602022c7
2023-02-10 02:16:41 +00:00
zijunzhao
195b90b83f
Nullability check for math module
...
Bugs: b/245972273
Test: adb shell
Change-Id: I46bf02e1ed3d6e6143c780e30f95fa3af2745216
2023-02-09 00:25:29 +00:00
Treehugger Robot
bc516bf20a
Merge "Nullability check for eventfd module"
2023-02-07 22:50:56 +00:00
zijunzhao
9729c193cb
Nullability check for eventfd module
...
Bugs: b/245972273
Test: None
Change-Id: I5a74318850f3e49dd9d78180476e2a9d76853606
2023-02-07 20:47:11 +00:00
Treehugger Robot
f82ee4a37a
Merge "Nullability check for klog module"
2023-02-07 16:35:27 +00:00
zijunzhao
1cda74daba
Nullability check for stat module
...
Bugs: b/245972273
Test: None
Change-Id: I8611c7d7c22e2fb6b0cec4b5101dbcb3174ae706
2023-02-07 06:58:39 +00:00
Treehugger Robot
a3357c28f5
Merge "Nullability check for quota module"
2023-02-04 04:12:16 +00:00
zijunzhao
e716b1b3ee
Nullability check for klog module
...
Bugs: b/245972273
Test: adb shell
Change-Id: I43634184ff8785fa8096d7e8034b22da452cfdd4
2023-02-03 21:56:56 +00:00
zijunzhao
4b8a126255
Nullability check for sysinfo module
...
Bugs: b/245972273
Test: None
Change-Id: Ie351c609136d1873d3969788246d8a4d8b77ac55
2023-02-03 20:05:05 +00:00
zijunzhao
7833a70000
Nullability check for quota module
...
Bugs: b/245972273
Test: adb shell
Change-Id: Ic300055163c852d1955d0dc419794b25395ce9a3
2023-02-03 20:03:34 +00:00
zijunzhao
3d59110f72
Nullability check for unistd module
...
Bugs: b/245972273
Test: None
Change-Id: I6037b1cd0bf233476a1cc0fbc8308a87de50c550
2023-02-01 20:40:35 +00:00
zijunzhao
93eb87007a
Add BIONIC_COMPLICATED_NULLNESS as _Null_unspecified
...
In some cases, the nullability of the pointer argument is too
complicated. Developers have better check relevant manuals or
code before annotating.
Bugs: b/245972273
Test: None
Change-Id: I3589a5080b267d1766cc8ed99868129ac16e4012
2023-01-31 22:51:30 +00:00
zijunzhao
4aa1ea04d7
Nullability check for fcntl module
...
Bugs: b/245972273
Test: None
Change-Id: I48d23c7bc80863cd3a67ab424780308fe6929292
2023-01-30 19:48:44 +00:00
zijunzhao
64b1fe21b7
Nullability check for nl_types module
...
Bugs: b/245972273
Test: None
Change-Id: Idc05efd6613c99292bd3c095679ac20bb6e8bf8f
2023-01-26 06:48:13 +00:00
zijunzhao
d9755064a6
Nullability check for utmp module
...
Bugs: b/245972273
Test: None
Change-Id: Ie37781b87ad13119d1ebc4cd053e184d482d5b58
2023-01-25 19:22:27 +00:00
zijunzhao
4730fb6cc8
Nullability check for termios module
...
Bugs: b/245972273
Test: None
Change-Id: Ic91fa6ebc87bff513740c1b757a726505e4dae0e
2023-01-14 01:01:51 +00:00
zijunzhao
e951acd2ca
Nullability check for execinfo module
...
Bugs: b/245972273
Test: None
Change-Id: I136926d5b82f62e11df716a26d0847a6bd83a419
2023-01-13 02:14:10 +00:00
zijunzhao
6daedb7c41
Nullability check for inttypes module
...
Bugs: b/245972273
Test: None
Change-Id: Ibc6edd389a9f7cb4d2d5f625ba67163eeda98979
2023-01-11 00:32:16 +00:00
Treehugger Robot
57c8646f59
Merge "Nullability check for malloc module."
2023-01-07 01:28:42 +00:00
zijunzhao
979d39cb82
Nullability check for syslog module.
...
Bugs: b/245972273
Test: None
Change-Id: I630597ac2101e16f5566208019a9a54e78fe5667
2023-01-06 20:22:58 +00:00
zijunzhao
e620266d1c
Nullability check for time module.
...
Bugs: b/245972273
Test: None
Change-Id: I65adc146f88bbd948f61d2f22bdec344faba09ae
2023-01-05 00:18:18 +00:00
zijunzhao
f043619125
Nullability check for langinfo module.
...
Bugs: b/245972273
Test: None
Change-Id: I92df36179d25ec668647f15848e5164eeb5d4d70
2023-01-03 19:52:35 +00:00
zijunzhao
1a49058e66
Nullability check for malloc module.
...
Bugs: b/245972273
Test: None
Change-Id: I33e164c23d5b7d09af003f3d85e02e676b78aa55
2022-12-15 21:47:53 +00:00