From 1b72ca32bf390178f8a210389d499dce787d5354 Mon Sep 17 00:00:00 2001 From: Matthew Gretton-Dann Date: Fri, 15 Mar 2024 08:40:54 +0000 Subject: [PATCH] Correct prototype of write_tex(). In a reverse of write_html(), write_tex() is declared with three parameters, but only called with two. Removing the third parameter is fine as it is unused. --- nuweb.w | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nuweb.w b/nuweb.w index 326c4c6..af0b6b4 100644 --- a/nuweb.w +++ b/nuweb.w @@ -2055,10 +2055,9 @@ static void write_ArglistElement(); The routine \verb|write_tex| takes two file names as parameters: the name of the web source file and the name of the \verb|.tex| output file. @o latex.c -cc -d -@{void write_tex(file_name, tex_name, sector) +@{void write_tex(file_name, tex_name) char *file_name; char *tex_name; - unsigned char sector; { FILE *tex_file = fopen(tex_name, "w"); if (tex_file) {