summaryrefslogtreecommitdiff
path: root/src/charset
diff options
context:
space:
mode:
Diffstat (limited to 'src/charset')
-rw-r--r--src/charset/detect.c1
-rw-r--r--src/charset/detect.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/charset/detect.c b/src/charset/detect.c
index 755d9fd..562c12d 100644
--- a/src/charset/detect.c
+++ b/src/charset/detect.c
@@ -25,7 +25,6 @@ static bool hubbub_charset_get_attribute(const uint8_t **data,
const uint8_t *end,
const uint8_t **name, uint32_t *namelen,
const uint8_t **value, uint32_t *valuelen);
-static void hubbub_charset_fix_charset(uint16_t *charset);
/**
* Extract a charset from a chunk of data
diff --git a/src/charset/detect.h b/src/charset/detect.h
index cb837d0..ec97267 100644
--- a/src/charset/detect.h
+++ b/src/charset/detect.h
@@ -20,5 +20,8 @@ parserutils_error hubbub_charset_extract(const uint8_t *data, size_t len,
uint16_t hubbub_charset_parse_content(const uint8_t *value,
uint32_t valuelen);
+/* Fix up frequently misused character sets */
+void hubbub_charset_fix_charset(uint16_t *charset);
+
#endif