commit | 7f5c789f35eb908dc7a2bf45dc3326cb960b8d27 | [log] [tgz] |
---|---|---|
author | zijunzhao <zijunzhao@google.com> | Fri Apr 14 01:04:54 2023 +0000 |
committer | Zijun Zhao <zijunzhao@google.com> | Fri Apr 14 01:05:54 2023 +0000 |
tree | 4633b1837f67ccd805740ca9884cf9a60e484cb4 | |
parent | be39cd5ebb76ad91984122b09edcbb1c865308cc [diff] [blame] |
Nullability check for ipc module. Bugs: b/245972273 Test: adb shell Change-Id: Idb89b878e415a62399890dcd3b40e54c3e9c9ef6
diff --git a/libc/include/sys/ipc.h b/libc/include/sys/ipc.h index c81ec1a..2e2b8cf 100644 --- a/libc/include/sys/ipc.h +++ b/libc/include/sys/ipc.h
@@ -52,6 +52,6 @@ * * Returns a key on success, and returns -1 and sets `errno` on failure. */ -key_t ftok(const char* __path, int __id); +key_t ftok(const char* _Nonnull __path, int __id); __END_DECLS