Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/telnet Expand SIG_FUNC_RET -from openbsd.



details:   https://anonhg.NetBSD.org/src/rev/fb9c50a17808
branches:  trunk
changeset: 446651:fb9c50a17808
user:      maya <maya%NetBSD.org@localhost>
date:      Thu Dec 13 09:20:05 2018 +0000

description:
Expand SIG_FUNC_RET -from openbsd.

diffstat:

 usr.bin/telnet/sys_bsd.c |  26 ++++++++++++--------------
 1 files changed, 12 insertions(+), 14 deletions(-)

diffs (83 lines):

diff -r 8f34f7235429 -r fb9c50a17808 usr.bin/telnet/sys_bsd.c
--- a/usr.bin/telnet/sys_bsd.c  Thu Dec 13 09:09:32 2018 +0000
+++ b/usr.bin/telnet/sys_bsd.c  Thu Dec 13 09:20:05 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sys_bsd.c,v 1.36 2018/12/13 05:22:14 maya Exp $        */
+/*     $NetBSD: sys_bsd.c,v 1.37 2018/12/13 09:20:05 maya Exp $        */
 
 /*
  * Copyright (c) 1988, 1990, 1993
@@ -34,7 +34,7 @@
 #if 0
 from: static char sccsid[] = "@(#)sys_bsd.c    8.4 (Berkeley) 5/30/95";
 #else
-__RCSID("$NetBSD: sys_bsd.c,v 1.36 2018/12/13 05:22:14 maya Exp $");
+__RCSID("$NetBSD: sys_bsd.c,v 1.37 2018/12/13 09:20:05 maya Exp $");
 #endif
 #endif /* not lint */
 
@@ -60,14 +60,12 @@
 #include "externs.h"
 #include "types.h"
 
-#define        SIG_FUNC_RET    void
+void susp(int);
+void ayt(int);
 
-SIG_FUNC_RET susp(int);
-SIG_FUNC_RET ayt(int);
-
-SIG_FUNC_RET intr(int);
-SIG_FUNC_RET intr2(int);
-SIG_FUNC_RET sendwin(int);
+void intr(int);
+void intr2(int);
+void sendwin(int);
 
 
 int
@@ -496,7 +494,7 @@
  */
 
 /* ARGSUSED */
-SIG_FUNC_RET
+void
 intr(int sig)
 {
     if (localchars) {
@@ -508,7 +506,7 @@
 }
 
 /* ARGSUSED */
-SIG_FUNC_RET
+void
 intr2(int sig)
 {
     if (localchars) {
@@ -523,7 +521,7 @@
 }
 
 /* ARGSUSED */
-SIG_FUNC_RET
+void
 susp(int sig)
 {
     if ((rlogin != _POSIX_VDISABLE) && rlogin_susp())
@@ -533,7 +531,7 @@
 }
 
 /* ARGSUSED */
-SIG_FUNC_RET
+void
 sendwin(int sig)
 {
     if (connected) {
@@ -542,7 +540,7 @@
 }
 
 /* ARGSUSED */
-SIG_FUNC_RET
+void
 ayt(int sig)
 {
     if (connected)



Home | Main Index | Thread Index | Old Index