commit | 2067ec596759e182b3d30441569162550874cfed | [log] [tgz] |
---|---|---|
author | zijunzhao <zijunzhao@google.com> | Fri May 05 19:27:44 2023 +0000 |
committer | Zijun Zhao <zijunzhao@google.com> | Tue May 16 00:17:36 2023 +0000 |
tree | d4e83dc1e625e634df4f300269e741fa2f09ecb5 | |
parent | d93f594d7837595eadeae93239e9938d08c57050 [diff] [blame] |
Nullability check for time module. Bug: b/245972273 Test: adb shell Change-Id: I61f69f48f3428ef1f544dd01e573ff078a9eab17
diff --git a/libc/include/sys/times.h b/libc/include/sys/times.h index 25d03e3..8b6e91d 100644 --- a/libc/include/sys/times.h +++ b/libc/include/sys/times.h
@@ -46,6 +46,6 @@ * Returns a (possibly overflowed) absolute time on success, * and returns -1 and sets `errno` on failure. */ -clock_t times(struct tms* __buf); +clock_t times(struct tms* _Nullable __buf); __END_DECLS