diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-23 18:09:28 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-23 18:09:28 +0000 |
commit | b9720b9e86a9a9c53933553a182a071ed7b98090 (patch) | |
tree | 932ebf958692196d1cee2b606f6ed4df7f62261d /Build/source/texk/web2c/cwebdir/cweav-w2c.ch | |
parent | 97e0177062e6865738b8e1ae7c24d4f18bed64d8 (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/cwebdir/cweav-w2c.ch')
-rw-r--r-- | Build/source/texk/web2c/cwebdir/cweav-w2c.ch | 164 |
1 files changed, 82 insertions, 82 deletions
diff --git a/Build/source/texk/web2c/cwebdir/cweav-w2c.ch b/Build/source/texk/web2c/cwebdir/cweav-w2c.ch index 59552eedcda..4d74596a0a1 100644 --- a/Build/source/texk/web2c/cwebdir/cweav-w2c.ch +++ b/Build/source/texk/web2c/cwebdir/cweav-w2c.ch @@ -72,7 +72,7 @@ int main (ac, av) int ac; /* argument count */ char **av; /* argument values */ @y -int main P2C(int,ac, char**,av) +int main (int ac, char **av) @z @x l.107 - Add Web2C version to banner. @@ -110,11 +110,11 @@ extern name_pointer section_lookup(); /* finds section name */ extern void print_section_name(), sprint_section_name(); @y /* looks up a string in the identifier table */ -extern name_pointer id_lookup P3H(char*,char*,char); +extern name_pointer id_lookup (char*, char*, char); /* finds section name */ -extern name_pointer section_lookup P3H(char*,char*,char); -extern void print_section_name P1H(name_pointer); -extern void sprint_section_name P2H(char*,name_pointer); +extern name_pointer section_lookup (char*, char*, char); +extern void print_section_name (name_pointer); +extern void sprint_section_name (char*, name_pointer); @z Section 10. @@ -127,10 +127,10 @@ extern void fatal(); /* issue error message and die */ extern void overflow(); /* succumb because a table has overflowed */ @y extern int history; /* indicates how bad this run was */ -extern void err_print P1H(char*); /* print error message and context */ -extern int wrap_up P1H(void); /* indicate |history| and exit */ -extern void fatal P2H(char*,char*); /* issue error message and die */ -extern void overflow P1H(char*); /* succumb because a table has overflowed */ +extern void err_print (char*); /* print error message and context */ +extern int wrap_up (void); /* indicate |history| and exit */ +extern void fatal (char*, char*); /* issue error message and die */ +extern void overflow (char*); /* succumb because a table has overflowed */ @z Section 11. @@ -160,9 +160,9 @@ extern reset_input(); /* initialize to read the web file and change file */ extern get_line(); /* inputs the next line */ extern check_complete(); /* checks that all changes were picked up */ @y -extern void reset_input P1H(void); /* initialize to read the web file and change file */ -extern int get_line P1H(void); /* inputs the next line */ -extern void check_complete P1H(void); /* checks that all changes were picked up */ +extern void reset_input (void); /* initialize to read the web file and change file */ +extern int get_line (void); /* inputs the next line */ +extern void check_complete (void); /* checks that all changes were picked up */ @z Section 15. @@ -170,7 +170,7 @@ Section 15. @x common.h l.192 extern void common_init(); @y -extern void common_init P1H(void); +extern void common_init (void); @z Section 21. @@ -179,7 +179,7 @@ Section 21. new_xref(p) name_pointer p; @y -new_xref P1C(name_pointer,p) +new_xref (name_pointer p) @z Section 22. @@ -188,7 +188,7 @@ Section 22. new_section_xref(p) name_pointer p; @y -new_section_xref P1C(name_pointer,p) +new_section_xref (name_pointer p) @z Section 23. @@ -197,7 +197,7 @@ Section 23. set_file_flag(p) name_pointer p; @y -set_file_flag P1C(name_pointer,p) +set_file_flag (name_pointer p) @z Section 27. @@ -209,7 +209,7 @@ char *first; /* position of first character of string */ int l; /* length of identifier */ eight_bits t; /* desired ilk */ @y -int names_match P4C(name_pointer,p, char*,first, int,l, char,t) +int names_match (name_pointer p, char *first, int l, char t) @z @x l.383 @@ -217,14 +217,14 @@ init_p(p,t) name_pointer p; eight_bits t; @y -init_p P2C(name_pointer,p, char,t) +init_p (name_pointer p, char t) @z @x l.391 init_node(p) name_pointer p; @y -init_node P1C(name_pointer,p) +init_node (name_pointer p) @z Section 34. @@ -232,7 +232,7 @@ Section 34. @x l.600 void skip_limbo(); @y -void skip_limbo P1H(void); +void skip_limbo (void); @z Section 35. @@ -240,7 +240,7 @@ Section 35. @x l.604 skip_limbo() { @y -skip_limbo P1H(void) { +skip_limbo (void) { @z Section 36. @@ -248,7 +248,7 @@ Section 36. @x l.626 skip_TeX() /* skip past pure \TEX/ code */ @y -skip_TeX P1H(void) /* skip past pure \TEX/ code */ +skip_TeX (void) /* skip past pure \TEX/ code */ @z Section 38. @@ -263,7 +263,7 @@ Section 39. @x l.696 eight_bits get_next(); @y -eight_bits get_next P1H(void); +eight_bits get_next (void); @z Section 40. @@ -271,7 +271,7 @@ Section 40. @x l.700 get_next() /* produces the next input token */ @y -get_next P1H(void) /* produces the next input token */ +get_next (void) /* produces the next input token */ @z Section 55. @@ -279,7 +279,7 @@ Section 55. @x l.971 void skip_restricted(); @y -void skip_restricted P1H(void); +void skip_restricted (void); @z Section 56. @@ -287,7 +287,7 @@ Section 56. @x l.975 skip_restricted() @y -skip_restricted P1H(void) +skip_restricted (void) @z Section 59. @@ -295,7 +295,7 @@ Section 59. @x l.1024 void phase_one(); @y -void phase_one P1H(void); +void phase_one (void); @z Section 60. @@ -303,7 +303,7 @@ Section 60. @x l.1028 phase_one() { @y -phase_one P1H(void) { +phase_one (void) { @z Section 62. @@ -311,7 +311,7 @@ Section 62. @x l.1076 void C_xref(); @y -void C_xref P1H(eight_bits); +void C_xref (eight_bits); @z Section 63. @@ -320,7 +320,7 @@ Section 63. C_xref( spec_ctrl ) /* makes cross-references for \CEE/ identifiers */ eight_bits spec_ctrl; @y -C_xref P1C(eight_bits,spec_ctrl) /* makes cross-references for \CEE/ identifiers */ +C_xref (eight_bits spec_ctrl) /* makes cross-references for \CEE/ identifiers */ @z Section 64. @@ -328,7 +328,7 @@ Section 64. @x l.1104 void outer_xref(); @y -void outer_xref P1H(void); +void outer_xref (void); @z Section 65. @@ -336,7 +336,7 @@ Section 65. @x l.1108 outer_xref() /* extension of |C_xref| */ @y -outer_xref P1H(void) /* extension of |C_xref| */ +outer_xref (void) /* extension of |C_xref| */ @z Section 74. @@ -344,7 +344,7 @@ Section 74. @x l.1266 void section_check(); @y -void section_check P1H(name_pointer); +void section_check (name_pointer); @z Section 75. @@ -353,7 +353,7 @@ Section 75. section_check(p) name_pointer p; /* print anomalies in subtree |p| */ @y -section_check P1C(name_pointer,p) /* print anomalies in subtree |p| */ +section_check (name_pointer p) /* print anomalies in subtree |p| */ @z Section 78. @@ -363,7 +363,7 @@ flush_buffer(b,per_cent,carryover) char *b; /* outputs from |out_buf+1| to |b|,where |b<=out_ptr| */ boolean per_cent,carryover; @y -flush_buffer P3C(char*,b, boolean,per_cent, boolean,carryover) +flush_buffer (char *b, boolean per_cent, boolean carryover) @z Section 79. @@ -371,7 +371,7 @@ Section 79. @x l.1352 finish_line() /* do this at the end of a line */ @y -finish_line P1H(void) /* do this at the end of a line */ +finish_line (void) /* do this at the end of a line */ @z Section 81. @@ -380,7 +380,7 @@ Section 81. out_str(s) /* output characters from |s| to end of string */ char *s; @y -out_str P1C(char*,s) /* output characters from |s| to end of string */ +out_str (char *s) /* output characters from |s| to end of string */ @z Section 83. @@ -388,7 +388,7 @@ Section 83. @x l.1402 void break_out(); @y -void break_out P1H(void); +void break_out (void); @z Section 84. @@ -396,7 +396,7 @@ Section 84. @x l.1406 break_out() /* finds a way to break the output line */ @y -break_out P1H(void) /* finds a way to break the output line */ +break_out (void) /* finds a way to break the output line */ @z Section 86. @@ -405,7 +405,7 @@ Section 86. out_section(n) sixteen_bits n; @y -out_section P1C(sixteen_bits,n) +out_section (sixteen_bits n) @z Section 87. @@ -415,7 +415,7 @@ out_name(p,quote_xalpha) name_pointer p; boolean quote_xalpha; @y -out_name P2C(name_pointer,p, boolean,quote_xalpha) +out_name (name_pointer p, boolean quote_xalpha) @z Section 88. @@ -423,7 +423,7 @@ Section 88. @x l.1485 copy_limbo() @y -copy_limbo P1H(void) +copy_limbo (void) @z Section 90. @@ -431,7 +431,7 @@ Section 90. @x l.1520 copy_TeX() @y -copy_TeX P1H(void) +copy_TeX (void) @z Section 91. @@ -439,7 +439,7 @@ Section 91. @x l.1449 int copy_comment(); @y -int copy_comment P2H(boolean,int); +int copy_comment (boolean, int); @z Section 92. @@ -449,7 +449,7 @@ int copy_comment(is_long_comment,bal) /* copies \TEX/ code in comments */ boolean is_long_comment; /* is this a traditional \CEE/ comment? */ int bal; /* brace balance */ @y -int copy_comment P2C(boolean,is_long_comment, int,bal) +int copy_comment (boolean is_long_comment, int bal) @z Section 99. @@ -458,7 +458,7 @@ Section 99. print_cat(c) /* symbolic printout of a category */ eight_bits c; @y -print_cat P1C(eight_bits,c) +print_cat (eight_bits c) @z Section 106. @@ -467,7 +467,7 @@ Section 106. print_text(p) /* prints a token list for debugging; not used in |main| */ text_pointer p; @y -print_text P1C(text_pointer,p) +print_text (text_pointer p) @z Section 109. @@ -476,21 +476,21 @@ Section 109. app_str(s) char *s; @y -app_str P1C(char*,s) +app_str (char *s) @z @x l.2271 big_app(a) token a; @y -big_app P1C(token,a) +big_app (token a) @z @x l.2288 big_app1(a) scrap_pointer a; @y -big_app1 P1C(scrap_pointer,a) +big_app1 (scrap_pointer a) @z Section 111. @@ -499,7 +499,7 @@ Section 111. find_first_ident(p) text_pointer p; @y -find_first_ident P1C(text_pointer,p) +find_first_ident (text_pointer p) @z Section 112. @@ -508,7 +508,7 @@ Section 112. make_reserved(p) /* make the first identifier in |p->trans| like |int| */ scrap_pointer p; @y -make_reserved P1C(scrap_pointer,p) +make_reserved (scrap_pointer p) @z Section 113. @@ -518,7 +518,7 @@ make_underlined(p) /* underline the entry for the first identifier in |p->trans| */ scrap_pointer p; @y -make_underlined P1C(scrap_pointer,p) +make_underlined (scrap_pointer p) @z Section 114. @@ -526,7 +526,7 @@ Section 114. @x l.2495 void underline_xref(); @y -void underline_xref P1H(name_pointer); +void underline_xref (name_pointer); @z Section 115. @@ -535,7 +535,7 @@ Section 115. underline_xref(p) name_pointer p; @y -underline_xref P1C(name_pointer,p) +underline_xref (name_pointer p) @z Section 164. @@ -546,7 +546,7 @@ scrap_pointer j; eight_bits c; short k, d, n; @y -reduce P5C(scrap_pointer,j, short,k, eight_bits,c, short,d, short,n) +reduce (scrap_pointer j, short k, eight_bits c, short d, short n) @z Section 165. @@ -557,7 +557,7 @@ scrap_pointer j; eight_bits c; short k, d, n; @y -squash P5C(scrap_pointer,j, short,k, eight_bits,c, short,d, short,n) +squash (scrap_pointer j, short k, eight_bits c, short d, short n) @z Section 170. @@ -565,7 +565,7 @@ Section 170. @x l.3126 translate() /* converts a sequence of scraps */ @y -translate P1H(void) /* converts a sequence of scraps */ +translate (void) /* converts a sequence of scraps */ @z Section 174. @@ -574,7 +574,7 @@ Section 174. C_parse(spec_ctrl) /* creates scraps from \CEE/ tokens */ eight_bits spec_ctrl; @y -C_parse P1C(eight_bits,spec_ctrl) /* creates scraps from \CEE/ tokens */ +C_parse (eight_bits spec_ctrl) /* creates scraps from \CEE/ tokens */ @z Section 181. @@ -582,7 +582,7 @@ Section 181. @x l.3421 void app_cur_id(); @y -void app_cur_id P1H(boolean); +void app_cur_id (boolean); @z Section 182. @@ -591,7 +591,7 @@ Section 182. app_cur_id(scrapping) boolean scrapping; /* are we making this into a scrap? */ @y -app_cur_id P1C(boolean,scrapping) +app_cur_id (boolean scrapping) @z Section 183. @@ -599,7 +599,7 @@ Section 183. @x l.3451 C_translate() @y -C_translate P1H(void) +C_translate (void) @z Section 184. @@ -607,7 +607,7 @@ Section 184. @x l.3480 outer_parse() /* makes scraps from \CEE/ tokens and comments */ @y -outer_parse P1H(void) /* makes scraps from \CEE/ tokens and comments */ +outer_parse (void) /* makes scraps from \CEE/ tokens and comments */ @z Section 189. @@ -616,7 +616,7 @@ Section 189. push_level(p) /* suspends the current level */ text_pointer p; @y -push_level P1C(text_pointer,p) /* suspends the current level */ +push_level (text_pointer p) /* suspends the current level */ @z Section 190. @@ -624,7 +624,7 @@ Section 190. @x l.3606 pop_level() @y -pop_level P1H(void) +pop_level (void) @z Section 192. @@ -632,7 +632,7 @@ Section 192. @x l.3628 get_output() /* returns the next token of output */ @y -get_output P1H(void) /* returns the next token of output */ +get_output (void) /* returns the next token of output */ @z Section 193. @@ -640,7 +640,7 @@ Section 193. @x l.3665 output_C() /* outputs the current token list */ @y -output_C P1H(void) /* outputs the current token list */ +output_C (void) /* outputs the current token list */ @z Section 194. @@ -648,7 +648,7 @@ Section 194. @x l.3687 void make_output(); @y -void make_output P1H(void); +void make_output (void); @z Section 195. @@ -656,7 +656,7 @@ Section 195. @x l.3691 make_output() /* outputs the equivalents of tokens */ @y -make_output P1H(void) /* outputs the equivalents of tokens */ +make_output (void) /* outputs the equivalents of tokens */ @z Section 205. @@ -664,7 +664,7 @@ Section 205. @x l.3951 void phase_two(); @y -void phase_two P1H(void); +void phase_two (void); @z Section 206. @@ -672,7 +672,7 @@ Section 206. @x l.3955 phase_two() { @y -phase_two P1H(void) { +phase_two (void) { @z Section 212. @@ -680,7 +680,7 @@ Section 212. @x l.4074 void finish_C(); @y -void finish_C P1H(boolean); +void finish_C (boolean); @z Section 213. @@ -689,7 +689,7 @@ Section 213. finish_C(visible) /* finishes a definition or a \CEE/ part */ boolean visible; /* nonzero if we should produce \TEX/ output */ @y -finish_C P1C(boolean,visible) /* finishes a definition or a \CEE/ part */ +finish_C (boolean visible) /* finishes a definition or a \CEE/ part */ @z Section 221. @@ -697,7 +697,7 @@ Section 221. @x l.4245 void footnote(); @y -void footnote P1H(sixteen_bits); +void footnote (sixteen_bits); @z Section 222. @@ -706,7 +706,7 @@ Section 222. footnote(flag) /* outputs section cross-references */ sixteen_bits flag; @y -footnote P1C(sixteen_bits,flag) /* outputs section cross-references */ +footnote (sixteen_bits flag) /* outputs section cross-references */ @z Section 225. @@ -714,7 +714,7 @@ Section 225. @x l.4294 void phase_three(); @y -void phase_three P1H(void); +void phase_three (void); @z Section 226. @@ -722,7 +722,7 @@ Section 226. @x l.4298 phase_three() { @y -phase_three P1H(void) { +phase_three (void) { @z Section 237. @@ -730,7 +730,7 @@ Section 237. @x l.4474 void unbucket(); @y -void unbucket P1H(eight_bits); +void unbucket (eight_bits); @z Section 238. @@ -739,7 +739,7 @@ Section 238. unbucket(d) /* empties buckets having depth |d| */ eight_bits d; @y -unbucket P1C(eight_bits,d) /* empties buckets having depth |d| */ +unbucket (eight_bits d) /* empties buckets having depth |d| */ @z Section 246. @@ -747,7 +747,7 @@ Section 246. @x l.4594 void section_print(); @y -void section_print P1H(name_pointer); +void section_print (name_pointer); @z Section 247. @@ -756,7 +756,7 @@ Section 247. section_print(p) /* print all section names in subtree |p| */ name_pointer p; @y -section_print P1C(name_pointer,p) /* print all section names in subtree |p| */ +section_print (name_pointer p) /* print all section names in subtree |p| */ @z Section 249. @@ -764,5 +764,5 @@ Section 249. @x l.4620 print_stats() { @y -print_stats P1H(void) { +print_stats (void) { @z |