Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/tn3270/sys_curses Eliminate illegal cast from functi...



details:   https://anonhg.NetBSD.org/src/rev/96c1f06e7d1f
branches:  trunk
changeset: 474909:96c1f06e7d1f
user:      itohy <itohy%NetBSD.org@localhost>
date:      Mon Jul 26 01:49:09 1999 +0000

description:
Eliminate illegal cast from function pointer (sig_t) to object pointer (void *).

diffstat:

 usr.bin/tn3270/sys_curses/termout.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 158ad1fb2677 -r 96c1f06e7d1f usr.bin/tn3270/sys_curses/termout.c
--- a/usr.bin/tn3270/sys_curses/termout.c       Mon Jul 26 01:31:47 1999 +0000
+++ b/usr.bin/tn3270/sys_curses/termout.c       Mon Jul 26 01:49:09 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: termout.c,v 1.9 1998/11/06 22:14:58 christos Exp $     */
+/*     $NetBSD: termout.c,v 1.10 1999/07/26 01:49:09 itohy Exp $       */
 
 /*-
  * Copyright (c) 1988 The Regents of the University of California.
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)termout.c  4.3 (Berkeley) 4/26/91";
 #else
-__RCSID("$NetBSD: termout.c,v 1.9 1998/11/06 22:14:58 christos Exp $");
+__RCSID("$NetBSD: termout.c,v 1.10 1999/07/26 01:49:09 itohy Exp $");
 #endif
 #endif /* not lint */
 
@@ -688,7 +688,7 @@
        ClearArray(Terminal);
        terminalCursorAddress = SetBufferAddress(0,0);
 #if defined(unix)
-       signal(SIGHUP, (void (*))abort);
+       signal(SIGHUP, (void (*)__P((int)))abort);
 #endif
 
        TryToSend = FastScreen;



Home | Main Index | Thread Index | Old Index