[libc-commits] [libc] e59d829 - [libc][obvious] Fix strtok_r signature in the spec.

Siva Chandra Reddy via libc-commits libc-commits at lists.llvm.org
Wed Sep 9 09:51:01 PDT 2020


Author: Siva Chandra Reddy
Date: 2020-09-09T09:50:17-07:00
New Revision: e59d829971e7703042f414d226caba1affe2dfe4

URL: https://github.com/llvm/llvm-project/commit/e59d829971e7703042f414d226caba1affe2dfe4
DIFF: https://github.com/llvm/llvm-project/commit/e59d829971e7703042f414d226caba1affe2dfe4.diff

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

Added: 
    

Modified: 
    libc/spec/posix.td

Removed: 
    


################################################################################
diff  --git a/libc/spec/posix.td b/libc/spec/posix.td
index c20cbefe42ce..1bf64f082c62 100644
--- 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>]
         >,
     ]
   >;


        


More information about the libc-commits mailing list