[libc] Fix typo in gnu_ext.td
authorCaslyn Tonelli <caslyn@google.com>
Tue, 11 Apr 2023 21:18:29 +0000 (21:18 +0000)
committerCaslyn Tonelli <caslyn@google.com>
Tue, 11 Apr 2023 22:16:09 +0000 (22:16 +0000)
Differential Revision: https://reviews.llvm.org/D148052

libc/spec/gnu_ext.td

index bd31897..0c45d5c 100644 (file)
@@ -61,7 +61,7 @@ def GnuExtensions : StandardSpec<"GNUExtensions"> {
          FunctionSpec<
             "memmem",
             RetValSpec<VoidPtr>,
-            [ArgSpec<ConstVoidPtr>, ArgSpec<SizeTType>, ArgSpec<ConstVoidPtr>, ArgSpec<SizeTType]
+            [ArgSpec<ConstVoidPtr>, ArgSpec<SizeTType>, ArgSpec<ConstVoidPtr>, ArgSpec<SizeTType>]
         >,
         FunctionSpec<
             "memrchr",