1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-ae,v 1.1 2006/01/04 21:57:09 joerg Exp $
--- help/txt2html.c.orig 2006-01-04 21:51:17.000000000 +0000
+++ help/txt2html.c
@@ -190,7 +190,7 @@ static void print_line(String line, FILE
fprintf(fp, "\n");
}
-void main(int argc, char **argv)
+int main(int argc, char **argv)
{
char *prefix, *name, *ptr;
Line input_file, output_file, line, module, error_msg;
@@ -248,4 +248,6 @@ void main(int argc, char **argv)
fclose(fp_in);
fclose(fp_out);
+
+ return(0);
}
|