summaryrefslogtreecommitdiffstats
path: root/lib/lz4frame.c
diff options
context:
space:
mode:
authorAlexander Mohr <git@mohr.io>2022-06-11 20:46:49 (GMT)
committerAlexander Mohr <git@mohr.io>2022-06-11 20:47:50 (GMT)
commit3c57d2f185c2b482fde69a4c5f04dbb48bacab58 (patch)
tree41239cedaee87c108ab5f9e3e4fe8a613ad18f80 /lib/lz4frame.c
parent1738b50443d1446c9c80ebd7c9272427f2644809 (diff)
downloadlz4-3c57d2f185c2b482fde69a4c5f04dbb48bacab58.zip
lz4-3c57d2f185c2b482fde69a4c5f04dbb48bacab58.tar.gz
lz4-3c57d2f185c2b482fde69a4c5f04dbb48bacab58.tar.bz2
lz4frame: fix different linkage error
Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
Diffstat (limited to 'lib/lz4frame.c')
-rw-r--r--lib/lz4frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lz4frame.c b/lib/lz4frame.c
index c7e0595..788f19f 100644
--- a/lib/lz4frame.c
+++ b/lib/lz4frame.c
@@ -1047,7 +1047,7 @@ size_t LZ4F_compressUpdate(LZ4F_cctx* cctxPtr,
* or an error code if it fails (which can be tested using LZ4F_isError())
* After an error, the state is left in a UB state, and must be re-initialized.
*/
-LZ4FLIB_API size_t LZ4F_uncompressedUpdate(LZ4F_cctx* cctxPtr,
+LZ4FLIB_STATIC_API size_t LZ4F_uncompressedUpdate(LZ4F_cctx* cctxPtr,
void* dstBuffer, size_t dstCapacity,
const void* srcBuffer, size_t srcSize,
const LZ4F_compressOptions_t* compressOptionsPtr) {