summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/ctiedir
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-23 18:09:28 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-23 18:09:28 +0000
commitb9720b9e86a9a9c53933553a182a071ed7b98090 (patch)
tree932ebf958692196d1cee2b606f6ed4df7f62261d /Build/source/texk/web2c/ctiedir
parent97e0177062e6865738b8e1ae7c24d4f18bed64d8 (diff)
use ANSI C function declarations, drop P?[CH] macros
git-svn-id: svn://tug.org/texlive/trunk@13924 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/ctiedir')
-rw-r--r--Build/source/texk/web2c/ctiedir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/ctiedir/ctie-k.ch36
2 files changed, 22 insertions, 18 deletions
diff --git a/Build/source/texk/web2c/ctiedir/ChangeLog b/Build/source/texk/web2c/ctiedir/ChangeLog
index 92650a4454c..046d4c8b73f 100644
--- a/Build/source/texk/web2c/ctiedir/ChangeLog
+++ b/Build/source/texk/web2c/ctiedir/ChangeLog
@@ -1,3 +1,7 @@
+2009-06-23 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * ctie-k.ch: drop P?C, P?H, use ANSI C function declarations.
+
2005-02-05 Olaf Weber <olaf@infovore.xs4all.nl>
* ctie.1: Correct header from TIE to CTIE.
diff --git a/Build/source/texk/web2c/ctiedir/ctie-k.ch b/Build/source/texk/web2c/ctiedir/ctie-k.ch
index 88e8d840b59..9f0accdac0a 100644
--- a/Build/source/texk/web2c/ctiedir/ctie-k.ch
+++ b/Build/source/texk/web2c/ctiedir/ctie-k.ch
@@ -29,7 +29,7 @@
main(argc, argv)
int argc; string *argv;
@y
-int main @,P2C(int, argc, string *, argv)
+int main (int argc, string *argv)
@z
@x l.105 Set up kpathsea stuff
@@ -140,7 +140,7 @@ too.
boolean get_line(i, do_includes)
file_index i; boolean do_includes;
@y
-boolean get_line @,P2C(file_index, i, boolean, do_includes)
+boolean get_line (file_index i, boolean do_includes)
@z
The next piece is simplified using the kpathsea kpse_find_file
@@ -220,40 +220,40 @@ variable) to search for this file.
@x l.585
void err_print();
@y
-void err_print @,P2H(file_index, char *);
+void err_print (file_index, char *);
@z
@x l.590
void err_print(i, s) /* prints `\..' and location of error message */
file_index i; char *s;
@y
-void err_print @,P2C(file_index, i, char *, s)
+void err_print (file_index i, char *s)
/* prints `\..' and location of error message */
@z
@x l.664
int wrap_up()
@y
-int wrap_up @,P1H(void)
+int wrap_up (void)
@z
@x l.674
int wrap_up();
@y
-int wrap_up @,P1H(void);
+int wrap_up (void);
@z
@x l.697
void pfatal_error();
@y
-void pfatal_error @,P2H(char *, char *);
+void pfatal_error (char *, char *);
@z
@x l.700
void pfatal_error(s, t)
char *s, *t;
@y
-void pfatal_error @,P2C(char *, s, char *, t)
+void pfatal_error (char *s, char *t)
@z
@x l.747 Use the kpathsea library to do this
@@ -339,41 +339,41 @@ the file.
boolean lines_dont_match(i, j)
file_index i, j;
@y
-boolean lines_dont_match @,P2C(file_index, i, file_index, j)
+boolean lines_dont_match (file_index i, file_index j)
@z
@x l.809
void init_change_file(i)
file_index i;
@y
-void init_change_file @,P1C(file_index, i)
+void init_change_file (file_index i)
@z
@x l.858
void put_line(j)
file_index j;
@y
-void put_line @,P1C(file_index, j)
+void put_line (file_index j)
@z
@x l.873
boolean e_of_ch_module(i)
file_index i;
@y
-boolean e_of_ch_module @,P1C(file_index, i)
+boolean e_of_ch_module (file_index i)
@z
@x l.894
boolean e_of_ch_preamble(i)
file_index i;
@y
-boolean e_of_ch_preamble @,P1C(file_index, i)
+boolean e_of_ch_preamble (file_index i)
@z
@x l.1106
void usage_error()
@y
-void usage_error @,P1H(void)
+void usage_error (void)
@z
@x l.1119 Add Web2C version to banner string
@@ -389,14 +389,14 @@ printf("%s\n", banner); /* print a ``banner line'' */
void usage_help();
void print_version_and_exit();
@y
-void usage_help @,P1H(void);
-void print_version_and_exit @,P2H(string, string);
+void usage_help (void);
+void print_version_and_exit (string, string);
@z
@x l.1238
void usage_help()
@y
-void usage_help @,P1H(void)
+void usage_help (void)
@z
@x l.1253
@@ -413,7 +413,7 @@ void print_version_and_exit(name, version)
exit (0);
}
@y
-void print_version_and_exit @,P2C(string, name, string, version)
+void print_version_and_exit (string name, string version)
{
extern KPSEDLL string kpathsea_version_string; /* from kpathsea/version.c */
printf ("%s %s\n", name, version);