ref: 63436cac56cd1fcbb242b9bffaf64e12343deb69
parent: e392ac06cebf0e5e9ed04b7c1949e34de0eb84c0
author: Sebastian Rasmussen <sebras@gmail.com>
date: Mon Jun 18 15:04:38 EDT 2018
jbig2dec: Make private function static.
--- a/jbig2_metadata.c
+++ b/jbig2_metadata.c
@@ -90,7 +90,7 @@
return s;
}
-int
+static int
jbig2_metadata_add(Jbig2Ctx *ctx, Jbig2Metadata *md, const char *key, const int key_length, const char *value, const int value_length)
{
char **keys, **values;
--- a/jbig2_metadata.h
+++ b/jbig2_metadata.h
@@ -32,7 +32,6 @@
Jbig2Metadata *jbig2_metadata_new(Jbig2Ctx *ctx, Jbig2Encoding encoding);
void jbig2_metadata_free(Jbig2Ctx *ctx, Jbig2Metadata *md);
-int jbig2_metadata_add(Jbig2Ctx *ctx, Jbig2Metadata *md, const char *key, const int key_length, const char *value, const int value_length);
struct _Jbig2Metadata {
Jbig2Encoding encoding;