summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2023-05-11 12:46:37 -0500
committerJoseph Huber <jhuber6@vols.utk.edu>2023-05-11 12:49:40 -0500
commitf6e5f90fd4bb4cde6705a78cf748c992bcaac222 (patch)
tree4ba4272ff4f797ffc0b52b98f5d68fee39dcdbb4 /libc
parent9d3057c1cf11759720f4d71f34b4e0e14d273f57 (diff)
downloadllvm-f6e5f90fd4bb4cde6705a78cf748c992bcaac222.tar.gz
[libc] Fix undeclared 'free' function in stream test
Summary: We need this function from the test.cpp but need to declare it manually.
Diffstat (limited to 'libc')
-rw-r--r--libc/test/integration/startup/gpu/rpc_stream_test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/test/integration/startup/gpu/rpc_stream_test.cpp b/libc/test/integration/startup/gpu/rpc_stream_test.cpp
index 877ded34b1aa..3d495b4df994 100644
--- a/libc/test/integration/startup/gpu/rpc_stream_test.cpp
+++ b/libc/test/integration/startup/gpu/rpc_stream_test.cpp
@@ -15,6 +15,7 @@
#include "test/IntegrationTest/test.h"
extern "C" void *malloc(uint64_t);
+extern "C" void free(void *);
using namespace __llvm_libc;