summaryrefslogtreecommitdiff
path: root/x11-terms/xvt/files/xvt-int-main.patch
blob: a0874e45f4196b8194f2a37abe50505a7f8afa9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- a/xvt.c
+++ b/xvt.c
@@ -41,9 +41,9 @@
 #endif /* UKC_LOCATIONS */
 
 #ifdef __STDC__
-void main(int,char **);
+int main(int,char **);
 #else
-void main();
+int main();
 #endif
 
 extern int debugging;
@@ -67,7 +67,7 @@
  *  master end of the pseudo-teletype pair with the command talking to
  *  the slave.
  */
-void
+int
 main(argc,argv)
 int argc;
 char **argv;