summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/tiedir/tie-w2c.ch
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/tiedir/tie-w2c.ch')
-rw-r--r--Build/source/texk/web2c/tiedir/tie-w2c.ch35
1 files changed, 28 insertions, 7 deletions
diff --git a/Build/source/texk/web2c/tiedir/tie-w2c.ch b/Build/source/texk/web2c/tiedir/tie-w2c.ch
index 4c3d0f61f09..fcf2a987e61 100644
--- a/Build/source/texk/web2c/tiedir/tie-w2c.ch
+++ b/Build/source/texk/web2c/tiedir/tie-w2c.ch
@@ -42,14 +42,16 @@ typedef char* string;
void get_line(i)
file_index i;
@y
-void get_line (file_index i)
+static void
+get_line (file_index i)
@z
@x
void err_loc(i) /* prints location of error */
int i;
@y
-void err_loc (int i) /* prints location of error */
+static void
+err_loc (int i) /* prints location of error */
@z
@x
@@ -68,40 +70,46 @@ void err_loc (int i) /* prints location of error */
boolean lines_dont_match(i,j)
file_index i,j;
@y
-boolean lines_dont_match (file_index i, file_index j)
+static boolean
+lines_dont_match (file_index i, file_index j)
@z
@x
void init_change_file(i,b)
file_index i; boolean b;
@y
-void init_change_file (file_index i, boolean b)
+static void
+init_change_file (file_index i, boolean b)
@z
@x
void put_line(j)
file_index j;
@y
-void put_line (file_index j)
+static void
+put_line (file_index j)
@z
@x
boolean e_of_ch_module(i)
file_index i;
@y
-boolean e_of_ch_module (file_index i)
+static boolean
+e_of_ch_module (file_index i)
@z
@x
boolean e_of_ch_preamble(i)
file_index i;
@y
-boolean e_of_ch_preamble (file_index i)
+static boolean
+e_of_ch_preamble (file_index i)
@z
@x
void usage()
@y
+static
void usage (void)
@z
@@ -121,3 +129,16 @@ int main (int argc, string *argv)
print_ln(versionstring); /* Web2C version */
print_ln(copyright); /* include the copyright notice */
@z
+
+@x
+{string msg;
+@y
+{const_string msg;
+@z
+
+@x -- silence unitialized warning
+ case fatal: msg="That was a fatal error, my friend"; break;
+@y
+ default: /* Anything except spotless, troublesome, or fatal is a bug. */
+ case fatal: msg="That was a fatal error, my friend"; break;
+@z \ No newline at end of file