1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Fixes build with clang

PR:		ports/158073
Submitted by:	Klaus Aehlig <aehlig@linta.de> (maintainer)
Approved by:	rene (mentor vacation)
This commit is contained in:
Julien Laffaye 2011-06-28 18:41:58 +00:00
parent 9658320ce0
commit b8cb77eb22
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=276593

View File

@ -1,5 +1,5 @@
--- tclock.c.orig Mon Dec 21 20:56:29 1992
+++ tclock.c Tue Sep 24 13:02:59 2002
--- tclock.c.orig 1992-12-21 19:56:29.000000000 +0000
+++ tclock.c 2011-06-20 18:42:37.000000000 +0100
@@ -22,7 +22,10 @@
*/
@ -53,6 +53,15 @@
}
unsigned long
@@ -294,7 +295,7 @@
strcpy(appClass, "Tclock");
}
-void
+int
main(ac, av)
int ac;
char **av;
@@ -309,6 +310,7 @@
extern
char *getenv();