OSDN Git Service
(root)
/
android-x86
/
external-llvm-project.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae20939
)
[libc][obvious] Fix strtok_r signature in the spec.
author
Siva Chandra Reddy
<sivachandra@google.com>
Wed, 9 Sep 2020 15:32:51 +0000
(08:32 -0700)
committer
Siva Chandra Reddy
<sivachandra@google.com>
Wed, 9 Sep 2020 16:50:17 +0000
(09:50 -0700)
libc/spec/posix.td
patch
|
blob
|
history
diff --git
a/libc/spec/posix.td
b/libc/spec/posix.td
index
c20cbef
..
1bf64f0
100644
(file)
--- a/
libc/spec/posix.td
+++ b/
libc/spec/posix.td
@@
-228,7
+228,9
@@
def POSIX : StandardSpec<"POSIX"> {
FunctionSpec<
"strtok_r",
RetValSpec<CharPtr>,
- [ArgSpec<ConstRestrictedCharPtr>, ArgSpec<CharRestrictedDoublePtr>]
+ [ArgSpec<RestrictedCharPtr>,
+ ArgSpec<ConstRestrictedCharPtr>,
+ ArgSpec<CharRestrictedDoublePtr>]
>,
]
>;