summaryrefslogtreecommitdiff
path: root/include/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-01-21 21:48:13 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-01-21 21:48:13 +0100
commitfbbb4f04074c7f21d3b334b01db87f88920db18e (patch)
treed5de6f88d4786b68a462d0a4c2762b821caaef3d /include/lib
parent68f30da720bb46054d2abd9814622dd79a607e4d (diff)
actually, it's inflate, not deflate
Diffstat (limited to 'include/lib')
-rw-r--r--include/lib/inflate.h (renamed from include/lib/deflate.h)6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/lib/deflate.h b/include/lib/inflate.h
index 39fc128..575be4a 100644
--- a/include/lib/deflate.h
+++ b/include/lib/inflate.h
@@ -1,4 +1,6 @@
/*
+ * zlib-deflate-nostdlib
+ *
* Copyright 2021 Daniel Friesel
*
* SPDX-License-Identifier: BSD-2-Clause
@@ -15,7 +17,7 @@
#define DEFLATE_ERR_FCHECK (-7)
#define DEFLATE_ERR_NLEN (-8)
-int16_t deflate(unsigned char *input_buf, uint16_t input_len,
+int16_t inflate(unsigned char *input_buf, uint16_t input_len,
unsigned char *output_buf, uint16_t output_len);
-int16_t deflate_zlib(unsigned char *input_buf, uint16_t input_len,
+int16_t inflate_zlib(unsigned char *input_buf, uint16_t input_len,
unsigned char *output_buf, uint16_t output_len);