aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2024-03-01 02:40:32 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-03-01 02:40:32 +0000
commit2c0e9a58ead53aff66f0978c51142d8331ffffb0 (patch)
treef482f40a2adaf0e034b3f295162434241a462be9
parenta216b269ef31c34baf5214bd6b93cfde68d6169f (diff)
parent148476d91c107fee9dbf1f53a9032143c38892a7 (diff)
downloadbionic-2c0e9a58ead53aff66f0978c51142d8331ffffb0.tar.gz
Merge "Correct the nullability annotation in posix_spawnattr_init()" into main
-rw-r--r--libc/include/spawn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/include/spawn.h b/libc/include/spawn.h
index 6c34b98bc..3ce402fef 100644
--- a/libc/include/spawn.h
+++ b/libc/include/spawn.h
@@ -55,7 +55,7 @@ typedef struct __posix_spawn_file_actions* posix_spawn_file_actions_t;
int posix_spawn(pid_t* _Nullable __pid, const char* _Nonnull __path, const posix_spawn_file_actions_t _Nullable * _Nullable __actions, const posix_spawnattr_t _Nullable * _Nullable __attr, char* const _Nonnull __argv[_Nonnull], char* const _Nullable __env[_Nullable]) __INTRODUCED_IN(28);
int posix_spawnp(pid_t* _Nullable __pid, const char* _Nonnull __file, const posix_spawn_file_actions_t _Nullable * _Nullable __actions, const posix_spawnattr_t _Nullable * _Nullable __attr, char* const _Nonnull __argv[_Nonnull], char* const _Nullable __env[_Nullable]) __INTRODUCED_IN(28);
-int posix_spawnattr_init(posix_spawnattr_t _Nonnull * _Nonnull __attr) __INTRODUCED_IN(28);
+int posix_spawnattr_init(posix_spawnattr_t _Nullable * _Nonnull __attr) __INTRODUCED_IN(28);
int posix_spawnattr_destroy(posix_spawnattr_t _Nonnull * _Nonnull __attr) __INTRODUCED_IN(28);
int posix_spawnattr_setflags(posix_spawnattr_t _Nonnull * _Nonnull __attr, short __flags) __INTRODUCED_IN(28);