summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2021-11-19 13:59:11 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2021-11-19 13:59:11 +0000
commit16b5148bb734d9b7bb39419d81294c681b04b556 (patch)
tree3bd14031b6d4e8ec9700d4f22838c9a35bec0d32
parent2b2fa970ff094ae4ffc219603a793cb54a960480 (diff)
downloadlibnsgif-16b5148bb734d9b7bb39419d81294c681b04b556.tar.gz
libnsgif-16b5148bb734d9b7bb39419d81294c681b04b556.tar.bz2
LZW: Remove double blank lines.
-rw-r--r--src/lzw.c5
-rw-r--r--src/lzw.h3
2 files changed, 0 insertions, 8 deletions
diff --git a/src/lzw.c b/src/lzw.c
index 710895e..6f85caa 100644
--- a/src/lzw.c
+++ b/src/lzw.c
@@ -96,7 +96,6 @@ struct lzw_ctx {
uint8_t stack_base[LZW_TABLE_ENTRY_MAX];
};
-
/* Exported function, documented in lzw.h */
lzw_result lzw_context_create(struct lzw_ctx **ctx)
{
@@ -109,14 +108,12 @@ lzw_result lzw_context_create(struct lzw_ctx **ctx)
return LZW_OK;
}
-
/* Exported function, documented in lzw.h */
void lzw_context_destroy(struct lzw_ctx *ctx)
{
free(ctx);
}
-
/**
* Advance the context to the next sub-block in the input data.
*
@@ -153,7 +150,6 @@ static lzw_result lzw__block_advance(struct lzw_read_ctx *restrict ctx)
return LZW_OK;
}
-
/**
* Get the next LZW code of given size from the raw input data.
*
@@ -223,7 +219,6 @@ static inline lzw_result lzw__read_code(
return LZW_OK;
}
-
/**
* Handle clear code.
*
diff --git a/src/lzw.h b/src/lzw.h
index 4568298..c68753a 100644
--- a/src/lzw.h
+++ b/src/lzw.h
@@ -20,11 +20,9 @@
/** Maximum LZW code size in bits */
#define LZW_CODE_MAX 12
-
/* Declare lzw internal context structure */
struct lzw_ctx;
-
/** LZW decoding response codes */
typedef enum lzw_result {
LZW_OK, /**< Success */
@@ -38,7 +36,6 @@ typedef enum lzw_result {
LZW_BAD_CODE, /**< Error: Bad LZW code */
} lzw_result;
-
/**
* Create an LZW decompression context.
*