summaryrefslogtreecommitdiff
path: root/Build/source/texk/ptexenc/ptexenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/ptexenc/ptexenc.c')
-rw-r--r--Build/source/texk/ptexenc/ptexenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/ptexenc/ptexenc.c b/Build/source/texk/ptexenc/ptexenc.c
index 43696693227..6c8238c4a2c 100644
--- a/Build/source/texk/ptexenc/ptexenc.c
+++ b/Build/source/texk/ptexenc/ptexenc.c
@@ -49,7 +49,7 @@ static int file_enc = ENC_UNKNOWN;
static int internal_enc = ENC_UNKNOWN;
static int terminal_enc = ENC_UNKNOWN;
-static const_string enc_to_string(int enc)
+const_string enc_to_string(int enc)
{
switch (enc) {
case ENC_JIS: return "jis";
@@ -114,7 +114,7 @@ static int get_file_enc(void)
return file_enc;
}
-static int get_internal_enc(void)
+int get_internal_enc(void)
{
if (internal_enc == ENC_UNKNOWN) set_internal_enc(get_default_enc());
return internal_enc;