summaryrefslogtreecommitdiff
path: root/libc/spec
diff options
context:
space:
mode:
authorRaman Tenneti <rtenneti@google.com>2022-10-24 16:16:40 -0700
committerRaman Tenneti <rtenneti@google.com>2022-10-24 16:18:52 -0700
commitcec276ac910946da3217d1636e6d932009aaceab (patch)
treeb44424ca9603f4902148cf05d104d2a39f684e69 /libc/spec
parent1acffe81ee9117691812b9bf8747c03354177d15 (diff)
downloadllvm-cec276ac910946da3217d1636e6d932009aaceab.tar.gz
[libc] Build fix.
Build fix. Reviewed By: rtenneti Differential Revision: https://reviews.llvm.org/D136647
Diffstat (limited to 'libc/spec')
-rw-r--r--libc/spec/stdc.td8
1 files changed, 8 insertions, 0 deletions
diff --git a/libc/spec/stdc.td b/libc/spec/stdc.td
index a1327f976970..3981d0d355f9 100644
--- a/libc/spec/stdc.td
+++ b/libc/spec/stdc.td
@@ -936,6 +936,14 @@ def StdC : StandardSpec<"stdc"> {
]
>,
FunctionSpec<
+ "difftime",
+ RetValSpec<DoubleType>,
+ [
+ ArgSpec<TimeTType>,
+ ArgSpec<TimeTType>,
+ ]
+ >,
+ FunctionSpec<
"gmtime",
RetValSpec<StructTmPtr>,
[ArgSpec<TimeTTypePtr>]