Cast mismatched fp to make it build.

Approved by Johnny Lam.
This commit is contained in:
rtr 2003-10-10 04:45:21 +00:00
parent 8ce6560786
commit 65001bbf9c
2 changed files with 22 additions and 6 deletions

View file

@ -1,10 +1,10 @@
$NetBSD: distinfo,v 1.4 2002/10/02 22:57:14 wiz Exp $
$NetBSD: distinfo,v 1.5 2003/10/10 04:45:21 rtr Exp $
SHA1 (vatsrc-4.0b2.tar.gz) = 92390be72438647bef422c7a493ee520e82e33b3
Size (vatsrc-4.0b2.tar.gz) = 263799 bytes
SHA1 (patch-aa) = 58021f5a9accc06efb168374036f9c737fb9cbe6
SHA1 (patch-ab) = f1ba1d4877de8ab3650ba5e19f1197ac756560af
SHA1 (patch-ac) = 7b8f4b56819e64ae9b1ca6e41b8b4f7fbb1cdb3f
SHA1 (patch-ac) = 192236d6703b6ff05ea4da0331a59e6eccaa8094
SHA1 (patch-ad) = 29288eba884ba9ef59c0eac2d92d50ca9336a101
SHA1 (patch-af) = 840141bc62f5bc713e33b3b1a0c199402f51926c
SHA1 (patch-ag) = cee2e711190a0d33ed7ff95e87f00e811c7d8286

View file

@ -1,7 +1,23 @@
$NetBSD: patch-ac,v 1.2 1998/08/07 11:10:03 agc Exp $
--- main.cc.orig Tue Sep 9 11:17:10 1997
+++ main.cc Tue Sep 9 11:17:31 1997
--- main.cc.orig 1996-05-03 23:27:22.000000000 +1000
+++ main.cc 2003-10-08 23:03:15.000000000 +1000
@@ -132,13 +132,13 @@
void initcatchers()
{
- signal(SIGINT, DoQuit);
+ signal(SIGINT, (void (*)(int))DoQuit);
#ifdef SIGHUP
- signal(SIGHUP, DoQuit);
+ signal(SIGHUP, (void (*)(int))DoQuit);
#endif
- signal(SIGTERM, DoQuit);
+ signal(SIGTERM, (void (*)(int))DoQuit);
#ifdef SIGCHLD
- signal(SIGCHLD, ReapChild);
+ signal(SIGCHLD, (void (*)(int))ReapChild);
#endif
}
@@ -162,7 +162,7 @@
else {
Tk_Window tk = t.tkmain();