[libc][obvious] Fix strtok_r signature in the spec.

This commit is contained in:
Siva Chandra Reddy 2020-09-09 08:32:51 -07:00
parent ae209397b1
commit e59d829971
1 changed files with 3 additions and 1 deletions

View File

@ -228,7 +228,9 @@ def POSIX : StandardSpec<"POSIX"> {
FunctionSpec<
"strtok_r",
RetValSpec<CharPtr>,
[ArgSpec<ConstRestrictedCharPtr>, ArgSpec<CharRestrictedDoublePtr>]
[ArgSpec<RestrictedCharPtr>,
ArgSpec<ConstRestrictedCharPtr>,
ArgSpec<CharRestrictedDoublePtr>]
>,
]
>;