summaryrefslogtreecommitdiff
path: root/Build/source/texk/ptexenc/ptexenc.c
diff options
context:
space:
mode:
authorTakuji Tanaka <ttk@t-lab.opal.ne.jp>2023-01-01 05:42:55 +0000
committerTakuji Tanaka <ttk@t-lab.opal.ne.jp>2023-01-01 05:42:55 +0000
commit52690578271b4c56b297cb56916d04483ef1b910 (patch)
treef0ac2b85501127f365bcf71e0738152d69cddfea /Build/source/texk/ptexenc/ptexenc.c
parent8517028b3f0587510b34633a3fff1630d403a81a (diff)
ptexenc: Remove unused function ptenc_get_command_line_args()
git-svn-id: svn://tug.org/texlive/trunk@65423 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/ptexenc/ptexenc.c')
-rw-r--r--Build/source/texk/ptexenc/ptexenc.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/Build/source/texk/ptexenc/ptexenc.c b/Build/source/texk/ptexenc/ptexenc.c
index 461565d2c17..4e81dbee7c8 100644
--- a/Build/source/texk/ptexenc/ptexenc.c
+++ b/Build/source/texk/ptexenc/ptexenc.c
@@ -1343,28 +1343,6 @@ unsigned char *ptenc_from_internal_enc_string_to_utf8(const unsigned char *is)
return buf;
}
-int ptenc_get_command_line_args(int *p_ac, char ***p_av)
-{
- int i, argc;
- char **argv;
-
- get_terminal_enc();
- if (terminal_enc == ENC_UTF8 && !is_internalUPTEX()) {
- argc = *p_ac;
- argv = xmalloc(sizeof(char *)*(argc+1));
- for (i=0; i<argc; i++) {
- argv[i] = ptenc_from_utf8_string_to_internal_enc((*p_av)[i]);
-#ifdef DEBUG
- fprintf(stderr, "Commandline arguments %d:(%s)\n", i, argv[i]);
-#endif /* DEBUG */
- }
- argv[argc] = NULL;
- *p_av = argv;
- return terminal_enc;
- }
- return 0;
-}
-
long ptenc_conv_first_line(long pos, long last, unsigned char *buff, const long buffsize)
/* return new last */
{