You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
539 B
22 lines
539 B
Avoid implicit int because it was removed from the language. Future
|
|
compilers will not support implicit ints by default, leading to
|
|
compilation failures.
|
|
|
|
Submitted upstream: <https://github.com/garrigue/labltk/pull/21>
|
|
|
|
diff --git a/config/auto-aux/tclversion.c b/config/auto-aux/tclversion.c
|
|
index 4608ee9f91a51e88..4c703c58284f3aa3 100644
|
|
--- a/config/auto-aux/tclversion.c
|
|
+++ b/config/auto-aux/tclversion.c
|
|
@@ -18,7 +18,9 @@
|
|
#include <tcl.h>
|
|
#include <tk.h>
|
|
|
|
-main ()
|
|
+int
|
|
+main (void)
|
|
{
|
|
puts(TCL_VERSION);
|
|
+ return 0;
|
|
}
|