From 52690578271b4c56b297cb56916d04483ef1b910 Mon Sep 17 00:00:00 2001 From: Takuji Tanaka Date: Sun, 1 Jan 2023 05:42:55 +0000 Subject: ptexenc: Remove unused function ptenc_get_command_line_args() git-svn-id: svn://tug.org/texlive/trunk@65423 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/ptexenc/COPYRIGHT | 2 +- Build/source/texk/ptexenc/ChangeLog | 6 ++++++ Build/source/texk/ptexenc/ptexenc.c | 22 ---------------------- Build/source/texk/ptexenc/ptexenc/ptexenc.h | 1 - Build/source/texk/ptexenc/version.ac | 2 +- 5 files changed, 8 insertions(+), 25 deletions(-) (limited to 'Build') diff --git a/Build/source/texk/ptexenc/COPYRIGHT b/Build/source/texk/ptexenc/COPYRIGHT index 063b0fd83ee..09a4da02d59 100644 --- a/Build/source/texk/ptexenc/COPYRIGHT +++ b/Build/source/texk/ptexenc/COPYRIGHT @@ -1,6 +1,6 @@ Copyright (C) 2009 ASCII MEDIA WORKS. Copyright (C) 2006-2010 N. Tsuchimura -Copyright (C) 2010-2022 Japanese TeX Development Community +Copyright (C) 2010-2023 Japanese TeX Development Community All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/Build/source/texk/ptexenc/ChangeLog b/Build/source/texk/ptexenc/ChangeLog index c37a0aad278..c3a94f55a0c 100644 --- a/Build/source/texk/ptexenc/ChangeLog +++ b/Build/source/texk/ptexenc/ChangeLog @@ -1,3 +1,9 @@ +2023-01-01 TANAKA Takuji + + * ptexenc.c, ptexenc/ptexenc.h: + Remove unused function ptenc_get_command_line_args(). + * version.ac, COPYRIGHT: Update copyright year. + 2022-12-22 Hironori Kitagawa * ptexenc.c, ptexenc/ptexenc.h: 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 +dnl Copyright 2022-2023 Japanese TeX Development Community dnl Copyright 2016-2022 Karl Berry dnl Copyright 2011-2015 Peter Breitenlohner dnl -- cgit v1.2.3